public final class FieldIteratorHelper extends Object
Constructor and Description |
---|
FieldIteratorHelper(RecordTokenType recordType,
FieldIteratorProperties properties)
Create a new FieldIteratorHelper.
|
Modifier and Type | Method and Description |
---|---|
int |
getRelativeIndex(ScalarValuedIterator iterator)
Returns the index of the current field, relative to the selectedFields argument
passed to this object's constructor.
|
ScalarValuedIterator |
newFieldIterator(RecordValued record)
Invokes
RecordValued.newFieldIterator(ScalarTokenType, String[]) , specifying
the iteratorType and selectedFields arguments that were passed to this object's constructor. |
public FieldIteratorHelper(RecordTokenType recordType, FieldIteratorProperties properties)
recordType
- The type of record on which this helper will create iteratorsproperties
- properties for the field iteratorpublic ScalarValuedIterator newFieldIterator(RecordValued record)
RecordValued.newFieldIterator(ScalarTokenType, String[])
, specifying
the iteratorType and selectedFields arguments that were passed to this object's constructor.record
- The record on which to create an iterator.public int getRelativeIndex(ScalarValuedIterator iterator)
iterator
- A valid iterator, positioned on a field.Copyright © 2019 Actian Corporation. All rights reserved.