java.lang.Object
com.pervasive.datarush.tokens.record.FieldIteratorProperties
Various properties that control the behavior of a field iterator.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new FieldIteratorProperties, whose selected fields are those that exactly match the given type.FieldIteratorProperties(ScalarTokenType type, String[] selectedFields) Creates a new FieldIteratorProperties, whose selected fields are those specified.FieldIteratorProperties(ScalarTokenType type, String[] selectedFields, boolean sorted) Creates a new FieldIteratorProperties, whose selected fields are those specified. -
Method Summary
-
Constructor Details
-
FieldIteratorProperties
Creates a new FieldIteratorProperties, whose selected fields are those that exactly match the given type. The field iterator will be sorted by absolute index.- Parameters:
type- The type of field iterator
-
FieldIteratorProperties
Creates a new FieldIteratorProperties, whose selected fields are those specified. The field iterator will be sorted by absolute index.- Parameters:
type- The type of field iteratorselectedFields- The fields to select
-
FieldIteratorProperties
Creates a new FieldIteratorProperties, whose selected fields are those specified.- Parameters:
type- The type of field iteratorselectedFields- The fields to selectsorted- If true, the iterator will always be sorted by absolute index.
-
-
Method Details
-
getType
Returns the type of field iterator to select.- Returns:
- the type of field iterator to select.
-
getSelectedFields
Returns the list of selected fields. A value of null means auto-discover based on type.- Returns:
- the list of selected fields.
-
isSorted
public boolean isSorted()Returns whether the iterator is to always be sorted by absolute index.- Returns:
- whether the iterator is to always be sorted by absolute index.
-