Package deltix.qsrv.hf.tickdb.ui.tbshell
Class Selector
- java.lang.Object
- 
- deltix.qsrv.hf.tickdb.ui.tbshell.Selector
 
- 
 public class Selector extends java.lang.Object
- 
- 
Field SummaryFields Modifier and Type Field Description static longDEFAULT_ENDTIMEstatic longDEFAULT_TIME
 - 
Constructor SummaryConstructors Constructor Description Selector(TickDBShell shell)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(deltix.qsrv.hf.pub.InstrumentIdentity id)booleandoCommand(java.lang.String key, java.lang.String args, java.lang.String fileId, java.io.LineNumberReader reader)protected voiddoSet()booleanenough(deltix.qsrv.hf.pub.InstrumentMessage msg)longgetEndtime()longgetEndtime(long startTime)intgetNumLines()deltix.qsrv.hf.pub.InstrumentIdentity[]getSelectedEntities()java.lang.String[]getSelectedTypes()SelectionOptionsgetSelectionOptions()longgetTime()longgetTime(long endTime)booleanisRaw()voidprintCursor(deltix.data.stream.MessageSource<deltix.qsrv.hf.pub.InstrumentMessage> cur)voidprintCursorRate(deltix.data.stream.MessageSource<deltix.qsrv.hf.pub.InstrumentMessage> cur)voidrunQuery(java.lang.String text)voidrunQuery(java.lang.String args, java.lang.String fileId, java.io.LineNumberReader reader)InstrumentMessageSourceselect()InstrumentMessageSourceselect(boolean raw)InstrumentMessageSourceselect(boolean raw, boolean live)InstrumentMessageSourceselect(long timestamp, SelectionOptions options, TickStream[] tickStreams)InstrumentMessageSourceselect(SelectionOptions options)voidsetDecodeRaw(boolean decodeRaw)voidsetEndtime(long endtime)voidsetEndTimeOffset(deltix.util.time.Interval offset)voidsetNum(int num)voidsetTime(long time)voidsetTimeOffset(deltix.util.time.Interval offset)voidtestDescribe(java.lang.String args, java.lang.String fileId, java.io.LineNumberReader reader)voidtestQQL(java.lang.String query, java.lang.String fileId, java.io.LineNumberReader reader)
 
- 
- 
- 
Field Detail- 
DEFAULT_TIMEpublic static final long DEFAULT_TIME - See Also:
- Constant Field Values
 
 - 
DEFAULT_ENDTIMEpublic static final long DEFAULT_ENDTIME - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
Selectorpublic Selector(TickDBShell shell) 
 
- 
 - 
Method Detail- 
setTimepublic void setTime(long time) 
 - 
setEndtimepublic void setEndtime(long endtime) 
 - 
setTimeOffsetpublic void setTimeOffset(deltix.util.time.Interval offset) 
 - 
setEndTimeOffsetpublic void setEndTimeOffset(deltix.util.time.Interval offset) 
 - 
setNumpublic void setNum(int num) 
 - 
getTimepublic long getTime() 
 - 
getTimepublic long getTime(long endTime) 
 - 
getEndtimepublic long getEndtime() 
 - 
getEndtimepublic long getEndtime(long startTime) 
 - 
setDecodeRawpublic void setDecodeRaw(boolean decodeRaw) 
 - 
doSetprotected void doSet() 
 - 
doCommandpublic boolean doCommand(java.lang.String key, java.lang.String args, java.lang.String fileId, java.io.LineNumberReader reader) throws java.lang.Exception- Throws:
- java.lang.Exception
 
 - 
testDescribepublic void testDescribe(java.lang.String args, java.lang.String fileId, java.io.LineNumberReader reader) throws java.io.IOException- Throws:
- java.io.IOException
 
 - 
testQQLpublic void testQQL(java.lang.String query, java.lang.String fileId, java.io.LineNumberReader reader) throws java.io.IOException- Throws:
- java.io.IOException
 
 - 
getSelectedEntitiespublic deltix.qsrv.hf.pub.InstrumentIdentity[] getSelectedEntities() 
 - 
getSelectedTypespublic java.lang.String[] getSelectedTypes() 
 - 
selectpublic InstrumentMessageSource select(boolean raw) 
 - 
selectpublic InstrumentMessageSource select(boolean raw, boolean live) 
 - 
selectpublic InstrumentMessageSource select() 
 - 
selectpublic InstrumentMessageSource select(SelectionOptions options) 
 - 
selectpublic InstrumentMessageSource select(long timestamp, SelectionOptions options, TickStream[] tickStreams) 
 - 
acceptpublic boolean accept(deltix.qsrv.hf.pub.InstrumentIdentity id) 
 - 
enoughpublic boolean enough(deltix.qsrv.hf.pub.InstrumentMessage msg) 
 - 
getNumLinespublic int getNumLines() 
 - 
isRawpublic boolean isRaw() 
 - 
getSelectionOptionspublic SelectionOptions getSelectionOptions() 
 - 
runQuerypublic void runQuery(java.lang.String args, java.lang.String fileId, java.io.LineNumberReader reader) throws java.io.IOException, java.lang.InterruptedException- Throws:
- java.io.IOException
- java.lang.InterruptedException
 
 - 
runQuerypublic void runQuery(java.lang.String text) throws java.io.IOException, java.lang.InterruptedException- Throws:
- java.io.IOException
- java.lang.InterruptedException
 
 - 
printCursorpublic void printCursor(deltix.data.stream.MessageSource<deltix.qsrv.hf.pub.InstrumentMessage> cur) 
 - 
printCursorRatepublic void printCursorRate(deltix.data.stream.MessageSource<deltix.qsrv.hf.pub.InstrumentMessage> cur) 
 
- 
 
-