public class RegexPartitionStateRandomAccessGetter extends Object implements RegexExprPreviousEvalStrategy
Constructor and Description |
---|
RegexPartitionStateRandomAccessGetter(int[] randomAccessIndexesRequested,
boolean isUnbound)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
RegexPartitionStateRandomAccess |
getAccess(ExprEvaluatorContext exprEvaluatorContext) |
RegexPartitionStateRandomAccess |
getAccessor()
Returns the index for access.
|
int[] |
getIndexesRequested()
Returns indexs.
|
int |
getIndexesRequestedLen()
Returns length of indexes.
|
int |
getMaxPriorIndex()
Returns max index.
|
boolean |
isUnbound()
Returns true for unbound.
|
void |
setRandomAccess(RegexPartitionStateRandomAccess randomAccess)
Sets the random access.
|
public RegexPartitionStateRandomAccessGetter(int[] randomAccessIndexesRequested, boolean isUnbound)
randomAccessIndexesRequested
- requested indexesisUnbound
- true if unboundpublic RegexPartitionStateRandomAccess getAccess(ExprEvaluatorContext exprEvaluatorContext)
getAccess
in interface RegexExprPreviousEvalStrategy
public int getMaxPriorIndex()
public int[] getIndexesRequested()
public int getIndexesRequestedLen()
public boolean isUnbound()
public RegexPartitionStateRandomAccess getAccessor()
public void setRandomAccess(RegexPartitionStateRandomAccess randomAccess)
randomAccess
- to use