public abstract class DataIndexer extends Object
Abstract base class for all Data Indexers
Modifier and Type | Field and Description |
---|---|
protected int |
componentIndex |
protected AbstractDataBlock |
data |
boolean |
doVisitors |
protected boolean |
hasNext |
protected DataIndexer[] |
indexerList |
protected DataIndexer |
parentIndexer |
protected int |
scalarCount |
protected DataVisitor[] |
visitorList |
Constructor and Description |
---|
DataIndexer() |
Modifier and Type | Method and Description |
---|---|
void |
addChildIndexer(DataIndexer newIndexer)
Adds a child indexer to the list
|
void |
addVisitor(DataVisitor newVisitor)
Adds a visitor to the list
|
protected void |
applyVisitors()
Loop through all registered visitors and call their mapData method
|
abstract void |
clearData() |
abstract DataIndexer |
copy() |
abstract void |
getData(int[] indexList) |
boolean |
hasNext() |
void |
insertChildIndexer(DataIndexer newIndexer)
Insert a child indexer at the begining of the list
|
abstract void |
next() |
void |
reset()
Resets the indexer by resetting all necessary variables.
|
abstract void |
setData(AbstractDataBlock data) |
abstract int |
skip(int num) |
abstract void |
updateScalarCount() |
abstract void |
updateStartIndex(int startIndex) |
protected AbstractDataBlock data
protected int componentIndex
protected int scalarCount
protected boolean hasNext
public boolean doVisitors
protected DataVisitor[] visitorList
protected DataIndexer[] indexerList
protected DataIndexer parentIndexer
public abstract void getData(int[] indexList)
public abstract void setData(AbstractDataBlock data)
public abstract void clearData()
public abstract void next()
public abstract int skip(int num)
public abstract void updateStartIndex(int startIndex)
public abstract void updateScalarCount()
public abstract DataIndexer copy()
public boolean hasNext()
public void addChildIndexer(DataIndexer newIndexer)
newIndexer
- public void insertChildIndexer(DataIndexer newIndexer)
newIndexer
- public void addVisitor(DataVisitor newVisitor)
newVisitor
- public void reset()
protected void applyVisitors()
Copyright © 2016 Sensia Software LLC. All rights reserved.