public abstract class CliResultView<O extends Enum<O>> extends CliView<O,Void>
| 限定符和类型 | 字段和说明 |
|---|---|
protected int[] |
columnWidths |
protected static int |
NO_ROW_SELECTED |
protected List<String[]> |
previousResults |
protected static List<org.apache.flink.api.java.tuple.Tuple2<String,Long>> |
REFRESH_INTERVALS |
protected int |
refreshInterval |
protected ResultDescriptor |
resultDescriptor |
protected List<String[]> |
results |
protected int |
selectedRow |
| 构造器和说明 |
|---|
CliResultView(CliClient client,
ResultDescriptor resultDescriptor,
int[] columnWidths) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
cleanUp() |
protected List<org.jline.utils.AttributedString> |
computeMainLines() |
protected void |
decreaseRefreshInterval(int minInterval) |
protected abstract String[] |
getRow(String[] resultRow) |
protected void |
increaseRefreshInterval() |
protected void |
init()
Starts threads if necessary.
|
protected boolean |
isRetrieving() |
protected void |
openRow() |
protected abstract void |
refresh() |
protected void |
selectRowDown() |
protected void |
selectRowUp() |
protected void |
stopRetrieval(boolean cleanUpQuery) |
close, close, close, computeFooterLines, computeHeaderLines, computeMainHeaderLines, display, evaluate, getFooterLines, getHeaderLines, getHeight, getKeys, getMainHeaderLines, getMainLines, getResult, getTitle, getTitleLine, getTotalMainWidth, getVisibleMainHeight, getWidth, isRunning, open, resetAllParts, resetMainPart, scrollDown, scrollDown, scrollLeft, scrollRight, scrollUpprotected static final int NO_ROW_SELECTED
protected static final List<org.apache.flink.api.java.tuple.Tuple2<String,Long>> REFRESH_INTERVALS
protected final ResultDescriptor resultDescriptor
protected final int[] columnWidths
protected int refreshInterval
protected int selectedRow
public CliResultView(CliClient client, ResultDescriptor resultDescriptor, int[] columnWidths)
protected void increaseRefreshInterval()
protected void decreaseRefreshInterval(int minInterval)
protected void selectRowUp()
protected void selectRowDown()
protected void openRow()
protected void stopRetrieval(boolean cleanUpQuery)
protected boolean isRetrieving()
protected abstract void refresh()
protected void init()
CliViewprotected List<org.jline.utils.AttributedString> computeMainLines()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.