Package deltix.qsrv.hf.tickdb.pub
Class LoadingOptions
- java.lang.Object
-
- deltix.data.stream.ChannelPreferences
-
- deltix.qsrv.hf.tickdb.pub.CommonOptions
-
- deltix.qsrv.hf.tickdb.pub.LoadingOptions
-
public class LoadingOptions extends CommonOptions
Options for loading data into a stream.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LoadingOptions.ErrorAction
static class
LoadingOptions.WriteMode
-
Field Summary
Fields Modifier and Type Field Description boolean
allowExperimentalTransport
java.lang.String
filterExpression
QQL Expression which allows filtering messages to be send.boolean
globalSorting
Globally sort all messages before loading.java.lang.String
space
Data Partition.LoadingOptions.WriteMode
writeMode
-
Fields inherited from class deltix.qsrv.hf.tickdb.pub.CommonOptions
channelBufferSize, channelQOS, compression
-
Fields inherited from class deltix.data.stream.ChannelPreferences
channelPerformance, raw, typeLoader
-
-
Constructor Summary
Constructors Constructor Description LoadingOptions()
LoadingOptions(boolean raw)
LoadingOptions(LoadingOptions.WriteMode writeMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addErrorAction(java.lang.Class<? extends LoadingError> clazz, LoadingOptions.ErrorAction action)
void
copy(LoadingOptions template)
LoadingOptions.ErrorAction
getErrorAction(java.lang.Class clazz)
java.lang.Class[]
getMappedClasses()
java.lang.String
getSpace()
boolean
isGlobalSorting()
boolean
isRaw()
void
setGlobalSorting(boolean globalSorting)
void
setRaw(boolean raw)
void
setSpace(java.lang.String space)
LoadingOptions
withSpace(java.lang.String space)
-
Methods inherited from class deltix.qsrv.hf.tickdb.pub.CommonOptions
copy
-
Methods inherited from class deltix.data.stream.ChannelPreferences
getChannelPerformance, getTypeLoader
-
-
-
-
Field Detail
-
globalSorting
public boolean globalSorting
Globally sort all messages before loading.This option is mutually exclusive with the others sorting options. Currently there is no implementation for global sorting.
-
space
public java.lang.String space
Data Partition. Contains unique number of instruments or Time Ranges.
-
filterExpression
public java.lang.String filterExpression
QQL Expression which allows filtering messages to be send.
-
writeMode
public LoadingOptions.WriteMode writeMode
-
allowExperimentalTransport
public boolean allowExperimentalTransport
-
-
Constructor Detail
-
LoadingOptions
public LoadingOptions()
-
LoadingOptions
public LoadingOptions(boolean raw)
-
LoadingOptions
public LoadingOptions(LoadingOptions.WriteMode writeMode)
-
-
Method Detail
-
isGlobalSorting
public boolean isGlobalSorting()
-
setGlobalSorting
public void setGlobalSorting(boolean globalSorting)
-
isRaw
public boolean isRaw()
-
setRaw
public void setRaw(boolean raw)
-
getSpace
public java.lang.String getSpace()
-
setSpace
public void setSpace(java.lang.String space)
-
addErrorAction
public void addErrorAction(java.lang.Class<? extends LoadingError> clazz, LoadingOptions.ErrorAction action)
-
getErrorAction
public LoadingOptions.ErrorAction getErrorAction(java.lang.Class clazz)
-
getMappedClasses
public java.lang.Class[] getMappedClasses()
-
withSpace
public LoadingOptions withSpace(java.lang.String space)
-
copy
public void copy(LoadingOptions template)
-
-