|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.lucidera.query.LucidDbSpecialOperators
public class LucidDbSpecialOperators
LucidDbSpecialOperators maintains information about builtin operators that require special handling, e.g., LCS_RID
Nested Class Summary | |
---|---|
private class |
LucidDbSpecialOperators.SpecialOperatorInfo
|
Field Summary | |
---|---|
private Map<Integer,LucidDbSpecialOperators.SpecialOperatorInfo> |
colIdMap
Maps the special column id representing a special operator to the object containing information about the operator |
private static int |
LcsRidColumnId
Special column id values. |
private Set<SqlOperator> |
specialOperators
List of the special operators |
private Map<SqlOperator,LucidDbSpecialOperators.SpecialOperatorInfo> |
sqlOpMap
Maps the special operator to an object containing information about the operator |
Constructor Summary | |
---|---|
LucidDbSpecialOperators()
|
Method Summary | |
---|---|
Integer |
getSpecialOpColumnId(SqlOperator op)
|
Set<SqlOperator> |
getSpecialOperators()
|
String |
getSpecialOpName(int colId)
|
String |
getSpecialOpName(SqlOperator op)
|
SqlTypeName |
getSpecialOpRetTypeName(int colId)
|
static boolean |
isLcsRidColumnId(int colId)
|
Boolean |
isNullable(int colId)
|
boolean |
isSpecialColumnId(int colId)
|
boolean |
isSpecialOperator(SqlOperator op)
|
static RexNode |
makeRidExpr(RexBuilder rexBuilder,
RelNode rel)
|
static RexNode |
makeRidExpr(RexBuilder rexBuilder,
RelNode rel,
int fieldNo)
Creates an expression corresponding to an lcs rid |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final int LcsRidColumnId
private Set<SqlOperator> specialOperators
private Map<SqlOperator,LucidDbSpecialOperators.SpecialOperatorInfo> sqlOpMap
private Map<Integer,LucidDbSpecialOperators.SpecialOperatorInfo> colIdMap
Constructor Detail |
---|
public LucidDbSpecialOperators()
Method Detail |
---|
public Set<SqlOperator> getSpecialOperators()
public boolean isSpecialOperator(SqlOperator op)
public boolean isSpecialColumnId(int colId)
public String getSpecialOpName(SqlOperator op)
public String getSpecialOpName(int colId)
public SqlTypeName getSpecialOpRetTypeName(int colId)
public Integer getSpecialOpColumnId(SqlOperator op)
public Boolean isNullable(int colId)
public static boolean isLcsRidColumnId(int colId)
public static RexNode makeRidExpr(RexBuilder rexBuilder, RelNode rel, int fieldNo)
rexBuilder
- rex builder used to create the expressionrel
- the relnode that the rid expression corresponds tofieldNo
- field in the relnode to use as the argument to the rid
expression
public static RexNode makeRidExpr(RexBuilder rexBuilder, RelNode rel)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |