public final class FieldIteratorProperties extends Object
Constructor and Description |
---|
FieldIteratorProperties(ScalarTokenType type)
Creates 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.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getSelectedFields()
Returns the list of selected fields.
|
ScalarTokenType |
getType()
Returns the type of field iterator to select.
|
boolean |
isSorted()
Returns whether the iterator is to always be sorted by
absolute index.
|
public FieldIteratorProperties(ScalarTokenType type)
type
- The type of field iteratorpublic FieldIteratorProperties(ScalarTokenType type, String[] selectedFields)
type
- The type of field iteratorselectedFields
- The fields to selectpublic FieldIteratorProperties(ScalarTokenType type, String[] selectedFields, boolean sorted)
type
- The type of field iteratorselectedFields
- The fields to selectsorted
- If true, the iterator will always be sorted by absolute index.public ScalarTokenType getType()
public String[] getSelectedFields()
public boolean isSorted()
Copyright © 2021 Actian Corporation. All rights reserved.