OmniSciDB
a5dc49c757
|
Public Member Functions | |
SqlOperator | getOperator () |
List< SqlNode > | getOperandList () |
void | unparse (SqlWriter writer, int leftPrec, int rightPrec) |
String | toString () |
Static Public Member Functions | |
static SqlKeyConstraint | unique (SqlParserPos pos, SqlIdentifier name, SqlNodeList columnList) |
static SqlKeyConstraint | primary (SqlParserPos pos, SqlIdentifier name, SqlNodeList columnList) |
static SqlKeyConstraint | shard (SqlParserPos pos, SqlIdentifier colName) |
static SqlKeyConstraint | sharedDict (SqlParserPos pos, SqlIdentifier colName, SqlIdentifier referencesCol) |
Static Protected Attributes | |
static final SqlSpecialOperator | PRIMARY |
Package Functions | |
SqlKeyConstraint (SqlParserPos pos, SqlIdentifier name, SqlNodeList columnList) | |
SqlKeyConstraint (SqlParserPos pos, SqlIdentifier name, SqlNodeList columnList, SqlIdentifier referencesCol) | |
Private Attributes | |
final SqlIdentifier | name |
final SqlNodeList | columnList |
final SqlIdentifier | referencesCol |
Static Private Attributes | |
static final SqlSpecialOperator | UNIQUE |
Parse tree for
,
constraints.
And
, when we support it.
Definition at line 41 of file SqlKeyConstraint.java.
|
inlinepackage |
Creates a SqlKeyConstraint.
Definition at line 53 of file SqlKeyConstraint.java.
References com.mapd.parser.extension.ddl.SqlKeyConstraint.columnList, and com.mapd.parser.extension.ddl.SqlKeyConstraint.name.
Referenced by com.mapd.parser.extension.ddl.SqlKeyConstraint.primary(), com.mapd.parser.extension.ddl.SqlKeyConstraint.shard(), com.mapd.parser.extension.ddl.SqlKeyConstraint.sharedDict(), and com.mapd.parser.extension.ddl.SqlKeyConstraint.unique().
|
inlinepackage |
Creates a SqlKeyConstraint between two (or more) columns
Definition at line 58 of file SqlKeyConstraint.java.
References com.mapd.parser.extension.ddl.SqlKeyConstraint.columnList, com.mapd.parser.extension.ddl.SqlKeyConstraint.name, and com.mapd.parser.extension.ddl.SqlKeyConstraint.referencesCol.
|
inline |
Definition at line 105 of file SqlKeyConstraint.java.
References com.mapd.parser.extension.ddl.SqlKeyConstraint.columnList, and com.mapd.parser.extension.ddl.SqlKeyConstraint.name.
|
inline |
Definition at line 100 of file SqlKeyConstraint.java.
References com.mapd.parser.extension.ddl.SqlKeyConstraint.UNIQUE.
Referenced by com.mapd.parser.extension.ddl.SqlKeyConstraint.primary(), and com.mapd.parser.extension.ddl.SqlKeyConstraint.unparse().
|
inlinestatic |
Creates a PRIMARY KEY constraint.
Definition at line 75 of file SqlKeyConstraint.java.
References com.mapd.parser.extension.ddl.SqlKeyConstraint.getOperator(), com.mapd.parser.extension.ddl.SqlKeyConstraint.PRIMARY, and com.mapd.parser.extension.ddl.SqlKeyConstraint.SqlKeyConstraint().
|
inlinestatic |
Creates a SHARD KEY constraint
Definition at line 86 of file SqlKeyConstraint.java.
References com.mapd.parser.extension.ddl.SqlKeyConstraint.SqlKeyConstraint().
|
inlinestatic |
CReates a SHARED DICTIONARY constraint
Definition at line 92 of file SqlKeyConstraint.java.
References com.mapd.parser.extension.ddl.SqlKeyConstraint.SqlKeyConstraint().
|
inline |
Definition at line 120 of file SqlKeyConstraint.java.
References com.mapd.parser.extension.ddl.SqlKeyConstraint.referencesCol.
|
inlinestatic |
Creates a UNIQUE constraint.
Definition at line 69 of file SqlKeyConstraint.java.
References com.mapd.parser.extension.ddl.SqlKeyConstraint.SqlKeyConstraint().
|
inline |
Definition at line 110 of file SqlKeyConstraint.java.
References com.mapd.parser.extension.ddl.SqlKeyConstraint.getOperator(), and com.mapd.parser.extension.ddl.SqlKeyConstraint.name.
|
private |
Definition at line 49 of file SqlKeyConstraint.java.
Referenced by com.mapd.parser.extension.ddl.SqlKeyConstraint.getOperandList(), and com.mapd.parser.extension.ddl.SqlKeyConstraint.SqlKeyConstraint().
|
private |
Definition at line 48 of file SqlKeyConstraint.java.
Referenced by TableFunctionsFactory_declbracket.Bracket.__repr__(), TableFunctionsFactory_declbracket.Bracket.__str__(), TableFunctionsFactory_declbracket.Bracket.apply_column(), TableFunctionsFactory_declbracket.Bracket.apply_namespace(), TableFunctionsFactory_declbracket.Bracket.format_sizer(), com.mapd.parser.extension.ddl.SqlKeyConstraint.getOperandList(), TableFunctionsFactory_declbracket.Bracket.normalize(), heavydb.extension_functions.ttypes.TUserDefinedFunction.read(), heavydb.extension_functions.ttypes.TUserDefinedTableFunction.read(), heavydb.thrift.ttypes.TDashboardGrantees.read(), heavydb.thrift.ttypes.TGeoFileLayerInfo.read(), heavydb.thrift.ttypes.TCustomExpression.read(), com.mapd.parser.extension.ddl.SqlKeyConstraint.SqlKeyConstraint(), TableFunctionsFactory_declbracket.Bracket.tostring(), com.mapd.parser.extension.ddl.SqlKeyConstraint.unparse(), heavydb.extension_functions.ttypes.TUserDefinedFunction.write(), heavydb.extension_functions.ttypes.TUserDefinedTableFunction.write(), heavydb.thrift.ttypes.TDashboardGrantees.write(), heavydb.thrift.ttypes.TGeoFileLayerInfo.write(), and heavydb.thrift.ttypes.TCustomExpression.write().
|
staticprotected |
Definition at line 45 of file SqlKeyConstraint.java.
Referenced by com.mapd.parser.extension.ddl.SqlKeyConstraint.primary().
|
private |
Definition at line 50 of file SqlKeyConstraint.java.
Referenced by com.mapd.parser.extension.ddl.SqlKeyConstraint.SqlKeyConstraint(), and com.mapd.parser.extension.ddl.SqlKeyConstraint.toString().
|
staticprivate |
Definition at line 42 of file SqlKeyConstraint.java.
Referenced by com.mapd.parser.extension.ddl.SqlKeyConstraint.getOperator().