Package deltix.qsrv.hf.tickdb.util
Class QueryUtils
- java.lang.Object
-
- deltix.qsrv.hf.tickdb.util.QueryUtils
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class QueryUtils extends java.lang.Object implements java.io.Closeable
-
-
Constructor Summary
Constructors Constructor Description QueryUtils(java.lang.String timebaseUrl)
QueryUtils(java.lang.String timebaseUrl, java.lang.String dateTimeFormat)
QueryUtils(java.lang.String timebaseUrl, java.lang.String user, java.lang.String pass)
QueryUtils(java.lang.String timebaseUrl, java.lang.String user, java.lang.String pass, java.lang.String dateTimeFormat)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Reader
createReader(java.lang.Object streamKey, java.lang.Object[] symbols, java.lang.Object start, java.lang.Object end, java.lang.Object[] messageTypes)
AttributeData[]
query(java.lang.Object streamKey, java.lang.Object[] symbols, java.lang.Object start, java.lang.Object end, java.lang.Object[] attributeObjects, java.lang.Object[] messageTypes)
AttributeData[]
query(java.lang.Object streamKey, java.lang.Object[] symbols, java.lang.Object start, java.lang.Object end, java.lang.Object[] attributeObjects, java.lang.Object[] messageTypes, boolean skipNulls)
AttributeDataExt[]
queryExt(java.lang.Object streamKey, java.lang.Object[] symbols, java.lang.Object start, java.lang.Object end, java.lang.Object[] attributeObjects, java.lang.Object[] messageTypes)
AttributeDataExt[]
queryExt(java.lang.Object streamKey, java.lang.Object[] symbols, java.lang.Object start, java.lang.Object end, java.lang.Object[] attributeObjects, java.lang.Object[] messageTypes, boolean skipNulls)
void
setDateTimeFormat(java.lang.String dateTimeFormat)
void
setDateTimeFormat(java.lang.String dateTimeFormat, java.util.TimeZone timeZone)
-
-
-
Constructor Detail
-
QueryUtils
public QueryUtils(java.lang.String timebaseUrl)
-
QueryUtils
public QueryUtils(java.lang.String timebaseUrl, java.lang.String dateTimeFormat)
-
QueryUtils
public QueryUtils(java.lang.String timebaseUrl, java.lang.String user, java.lang.String pass)
-
QueryUtils
public QueryUtils(java.lang.String timebaseUrl, java.lang.String user, java.lang.String pass, java.lang.String dateTimeFormat)
-
-
Method Detail
-
setDateTimeFormat
public void setDateTimeFormat(java.lang.String dateTimeFormat)
-
setDateTimeFormat
public void setDateTimeFormat(java.lang.String dateTimeFormat, java.util.TimeZone timeZone)
-
query
public AttributeData[] query(java.lang.Object streamKey, java.lang.Object[] symbols, java.lang.Object start, java.lang.Object end, java.lang.Object[] attributeObjects, java.lang.Object[] messageTypes)
-
query
public AttributeData[] query(java.lang.Object streamKey, java.lang.Object[] symbols, java.lang.Object start, java.lang.Object end, java.lang.Object[] attributeObjects, java.lang.Object[] messageTypes, boolean skipNulls)
-
queryExt
public AttributeDataExt[] queryExt(java.lang.Object streamKey, java.lang.Object[] symbols, java.lang.Object start, java.lang.Object end, java.lang.Object[] attributeObjects, java.lang.Object[] messageTypes)
-
queryExt
public AttributeDataExt[] queryExt(java.lang.Object streamKey, java.lang.Object[] symbols, java.lang.Object start, java.lang.Object end, java.lang.Object[] attributeObjects, java.lang.Object[] messageTypes, boolean skipNulls)
-
createReader
public Reader createReader(java.lang.Object streamKey, java.lang.Object[] symbols, java.lang.Object start, java.lang.Object end, java.lang.Object[] messageTypes)
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Throws:
java.io.IOException
-
-