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 Summary
Fields Modifier and Type Field Description static long
DEFAULT_ENDTIME
static long
DEFAULT_TIME
-
Constructor Summary
Constructors Constructor Description Selector(TickDBShell shell)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(deltix.qsrv.hf.pub.InstrumentIdentity id)
boolean
doCommand(java.lang.String key, java.lang.String args, java.lang.String fileId, java.io.LineNumberReader reader)
protected void
doSet()
boolean
enough(deltix.qsrv.hf.pub.InstrumentMessage msg)
long
getEndtime()
long
getEndtime(long startTime)
int
getNumLines()
deltix.qsrv.hf.pub.InstrumentIdentity[]
getSelectedEntities()
java.lang.String[]
getSelectedTypes()
SelectionOptions
getSelectionOptions()
long
getTime()
long
getTime(long endTime)
boolean
isRaw()
void
printCursor(deltix.data.stream.MessageSource<deltix.qsrv.hf.pub.InstrumentMessage> cur)
void
printCursorRate(deltix.data.stream.MessageSource<deltix.qsrv.hf.pub.InstrumentMessage> cur)
void
runQuery(java.lang.String text)
void
runQuery(java.lang.String args, java.lang.String fileId, java.io.LineNumberReader reader)
InstrumentMessageSource
select()
InstrumentMessageSource
select(boolean raw)
InstrumentMessageSource
select(boolean raw, boolean live)
InstrumentMessageSource
select(long timestamp, SelectionOptions options, TickStream[] tickStreams)
InstrumentMessageSource
select(SelectionOptions options)
void
setDecodeRaw(boolean decodeRaw)
void
setEndtime(long endtime)
void
setEndTimeOffset(deltix.util.time.Interval offset)
void
setNum(int num)
void
setTime(long time)
void
setTimeOffset(deltix.util.time.Interval offset)
void
testDescribe(java.lang.String args, java.lang.String fileId, java.io.LineNumberReader reader)
void
testQQL(java.lang.String query, java.lang.String fileId, java.io.LineNumberReader reader)
-
-
-
Field Detail
-
DEFAULT_TIME
public static final long DEFAULT_TIME
- See Also:
- Constant Field Values
-
DEFAULT_ENDTIME
public static final long DEFAULT_ENDTIME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Selector
public Selector(TickDBShell shell)
-
-
Method Detail
-
setTime
public void setTime(long time)
-
setEndtime
public void setEndtime(long endtime)
-
setTimeOffset
public void setTimeOffset(deltix.util.time.Interval offset)
-
setEndTimeOffset
public void setEndTimeOffset(deltix.util.time.Interval offset)
-
setNum
public void setNum(int num)
-
getTime
public long getTime()
-
getTime
public long getTime(long endTime)
-
getEndtime
public long getEndtime()
-
getEndtime
public long getEndtime(long startTime)
-
setDecodeRaw
public void setDecodeRaw(boolean decodeRaw)
-
doSet
protected void doSet()
-
doCommand
public 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
-
testDescribe
public void testDescribe(java.lang.String args, java.lang.String fileId, java.io.LineNumberReader reader) throws java.io.IOException
- Throws:
java.io.IOException
-
testQQL
public void testQQL(java.lang.String query, java.lang.String fileId, java.io.LineNumberReader reader) throws java.io.IOException
- Throws:
java.io.IOException
-
getSelectedEntities
public deltix.qsrv.hf.pub.InstrumentIdentity[] getSelectedEntities()
-
getSelectedTypes
public java.lang.String[] getSelectedTypes()
-
select
public InstrumentMessageSource select(boolean raw)
-
select
public InstrumentMessageSource select(boolean raw, boolean live)
-
select
public InstrumentMessageSource select()
-
select
public InstrumentMessageSource select(SelectionOptions options)
-
select
public InstrumentMessageSource select(long timestamp, SelectionOptions options, TickStream[] tickStreams)
-
accept
public boolean accept(deltix.qsrv.hf.pub.InstrumentIdentity id)
-
enough
public boolean enough(deltix.qsrv.hf.pub.InstrumentMessage msg)
-
getNumLines
public int getNumLines()
-
isRaw
public boolean isRaw()
-
getSelectionOptions
public SelectionOptions getSelectionOptions()
-
runQuery
public 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
-
runQuery
public void runQuery(java.lang.String text) throws java.io.IOException, java.lang.InterruptedException
- Throws:
java.io.IOException
java.lang.InterruptedException
-
printCursor
public void printCursor(deltix.data.stream.MessageSource<deltix.qsrv.hf.pub.InstrumentMessage> cur)
-
printCursorRate
public void printCursorRate(deltix.data.stream.MessageSource<deltix.qsrv.hf.pub.InstrumentMessage> cur)
-
-