Class ValueIndexLikeExpansionVisitor.VisitorState
- java.lang.Object
-
- com.apple.foundationdb.record.query.plan.temp.ValueIndexLikeExpansionVisitor.VisitorState
-
- All Implemented Interfaces:
KeyExpressionVisitor.State
- Enclosing class:
- ValueIndexLikeExpansionVisitor
public static class ValueIndexLikeExpansionVisitor.VisitorState extends Object implements KeyExpressionVisitor.State
Class that holds the state necessary to expand both primary data access as well as value indexes. This is meant to be a case class. State is immutable, all mutations cause a new state to be generated.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CorrelationIdentifier
getBaseAlias()
int
getCurrentOrdinal()
List<String>
getFieldNamePrefix()
int
getSplitPointForValues()
boolean
isKey()
static ValueIndexLikeExpansionVisitor.VisitorState
of(CorrelationIdentifier baseAlias, List<String> fieldNamePrefix, int splitPointForValues, int currentOrdinal)
ValueIndexLikeExpansionVisitor.VisitorState
withBaseAlias(CorrelationIdentifier baseAlias)
ValueIndexLikeExpansionVisitor.VisitorState
withCurrentOrdinal(int currentOrdinal)
ValueIndexLikeExpansionVisitor.VisitorState
withFieldNamePrefix(List<String> fieldNamePrefix)
ValueIndexLikeExpansionVisitor.VisitorState
withSplitPointForValues(int splitPointForValues)
-
-
-
Method Detail
-
getBaseAlias
@Nonnull public CorrelationIdentifier getBaseAlias()
-
getSplitPointForValues
public int getSplitPointForValues()
-
getCurrentOrdinal
public int getCurrentOrdinal()
-
isKey
public boolean isKey()
-
withBaseAlias
public ValueIndexLikeExpansionVisitor.VisitorState withBaseAlias(@Nonnull CorrelationIdentifier baseAlias)
-
withFieldNamePrefix
public ValueIndexLikeExpansionVisitor.VisitorState withFieldNamePrefix(@Nonnull List<String> fieldNamePrefix)
-
withSplitPointForValues
public ValueIndexLikeExpansionVisitor.VisitorState withSplitPointForValues(int splitPointForValues)
-
withCurrentOrdinal
public ValueIndexLikeExpansionVisitor.VisitorState withCurrentOrdinal(int currentOrdinal)
-
of
public static ValueIndexLikeExpansionVisitor.VisitorState of(@Nonnull CorrelationIdentifier baseAlias, @Nonnull List<String> fieldNamePrefix, int splitPointForValues, int currentOrdinal)
-
-