public interface FunctionalIndexInfo
Modifier and Type | Method and Description |
---|---|
Set<SchemaPath> |
allNewSchemaPaths() |
Set<SchemaPath> |
allPathsInFunction() |
Map<LogicalExpression,LogicalExpression> |
getExprMap() |
IndexDescriptor |
getIndexDesc() |
SchemaPath |
getNewPath(SchemaPath path)
getNewPath: for an original path, return new rename '$N' path, notice there could be multiple renamed paths
if the there are multiple functional indexes refer original path.
|
SchemaPath |
getNewPathFromExpr(LogicalExpression expr)
return a plain field path if the incoming index expression 'expr' is replaced to be a plain field
|
Map<LogicalExpression,Set<SchemaPath>> |
getPathsInFunctionExpr() |
boolean |
hasFunctional() |
boolean |
supportEqualCharConvertToLike()
Whether this implementation( may be different per storage) support rewrite rewriting varchar equality expression,
e.g.
|
boolean hasFunctional()
IndexDescriptor getIndexDesc()
SchemaPath getNewPath(SchemaPath path)
path
- SchemaPath getNewPathFromExpr(LogicalExpression expr)
expr
- suppose to be an indexed expressionMap<LogicalExpression,Set<SchemaPath>> getPathsInFunctionExpr()
Map<LogicalExpression,LogicalExpression> getExprMap()
Set<SchemaPath> allNewSchemaPaths()
Set<SchemaPath> allPathsInFunction()
boolean supportEqualCharConvertToLike()
Copyright © 2022 The Apache Software Foundation. All rights reserved.