java.lang.Object
com.pervasive.datarush.ports.record.DatasetOptions
Can be used to provide tuning parameters that control how iterative operators
stage their data. DatasetOptions are specified via the method
RecordPort.setIterationStagingOptions(com.pervasive.datarush.operators.IterativeMetadataContext, com.pervasive.datarush.ports.record.DatasetOptions). This is primarily used
by iterative operators that need to access a small subset of the columns with each pass; for
those operators, a columar staging format can provide
a large performance speedup. Note that if columnar is used, the operator must also
use a filtered port during iteration in order to indicate
to the framework which columns are to be accessed in each pass.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DatasetOptionsBy default, we use theDatasetStorageFormat.COMPACT_ROWand a block size of 64. -
Constructor Summary
ConstructorsConstructorDescriptionDatasetOptions(DatasetStorageFormat format, int blockSize) Specify options for staging iterative datasets. -
Method Summary
Modifier and TypeMethodDescriptionintReturns theblock sizeto use for writing the dataset.Returns theformatto use for writing the dataset.
-
Field Details
-
DEFAULT
By default, we use theDatasetStorageFormat.COMPACT_ROWand a block size of 64.
-
-
Constructor Details
-
DatasetOptions
Specify options for staging iterative datasets.- Parameters:
format- theformat.blockSize- theblock size.
-
-
Method Details
-
getFormat
Returns theformatto use for writing the dataset.- Returns:
- the format
-
getBlockSize
public int getBlockSize()Returns theblock sizeto use for writing the dataset.- Returns:
- the block size
-