Class TableMetaData
java.lang.Object
com.espertech.esper.common.internal.epl.table.compiletime.TableMetaData
- All Implemented Interfaces:
Copyable<TableMetaData>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTableMetaData
(String tableName, String tableModuleName, NameAccessModifier tableVisibility, String optionalContextName, NameAccessModifier optionalContextVisibility, String optionalContextModule, EventType internalEventType, EventType publicEventType, String[] keyColumns, EPTypeClass[] keyTypes, int[] keyColNums, Map<String, TableMetadataColumn> columns, int numMethodAggs, StateMgmtSetting stateMgmtSettingsPrimaryKey, StateMgmtSetting stateMgmtSettingsUnkeyed) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addIndex
(String indexName, String indexModuleName, IndexMultiKey imk, QueryPlanIndexItem indexItem) copy()
int[]
String[]
int
void
init()
boolean
isKeyed()
make
(CodegenMethodScope parent, ModuleTableInitializeSymbol symbols, CodegenClassScope classScope) make
(CodegenExpressionRef addInitSvc) void
setColumns
(Map<String, TableMetadataColumn> columns) void
setIndexMetadata
(EventTableIndexMetadata indexMetadata) void
setInternalEventType
(EventType internalEventType) void
setKeyColNums
(int[] keyColNums) void
setKeyColumns
(String[] keyColumns) void
setKeyIndexMultiKey
(IndexMultiKey keyIndexMultiKey) void
setKeyTypes
(EPTypeClass[] keyTypes) void
setNumMethodAggs
(int numMethodAggs) void
setOptionalContextModule
(String optionalContextModule) void
setOptionalContextName
(String optionalContextName) void
setOptionalContextVisibility
(NameAccessModifier optionalContextVisibility) void
setPublicEventType
(EventType publicEventType) void
setStateMgmtSettingsPrimaryKey
(StateMgmtSetting stateMgmtSettingsPrimaryKey) void
setStateMgmtSettingsUnkeyed
(StateMgmtSetting stateMgmtSettingsUnkeyed) void
setTableModuleName
(String tableModuleName) void
setTableName
(String tableName) void
setTableVisibility
(NameAccessModifier tableVisibility)
-
Field Details
-
EPTYPE
-
-
Constructor Details
-
TableMetaData
public TableMetaData() -
TableMetaData
public TableMetaData(String tableName, String tableModuleName, NameAccessModifier tableVisibility, String optionalContextName, NameAccessModifier optionalContextVisibility, String optionalContextModule, EventType internalEventType, EventType publicEventType, String[] keyColumns, EPTypeClass[] keyTypes, int[] keyColNums, Map<String, TableMetadataColumn> columns, int numMethodAggs, StateMgmtSetting stateMgmtSettingsPrimaryKey, StateMgmtSetting stateMgmtSettingsUnkeyed)
-
-
Method Details
-
copy
- Specified by:
copy
in interfaceCopyable<TableMetaData>
-
init
public void init() -
make
public CodegenExpression make(CodegenMethodScope parent, ModuleTableInitializeSymbol symbols, CodegenClassScope classScope) -
make
-
getInternalEventType
-
getPublicEventType
-
getTableName
-
getOptionalContextName
-
getOptionalContextVisibility
-
getOptionalContextModule
-
getKeyTypes
-
getColumns
-
setTableName
-
setOptionalContextName
-
setOptionalContextVisibility
-
setOptionalContextModule
-
setInternalEventType
-
setPublicEventType
-
setKeyTypes
-
setColumns
-
setNumMethodAggs
public void setNumMethodAggs(int numMethodAggs) -
getNumMethodAggs
public int getNumMethodAggs() -
setKeyColumns
-
getKeyColumns
-
getUniquenessAsSet
-
getIndexMetadata
-
isKeyed
public boolean isKeyed() -
getKeyColNums
public int[] getKeyColNums() -
setKeyColNums
public void setKeyColNums(int[] keyColNums) -
getKeyIndexMultiKey
-
getTableModuleName
-
setTableModuleName
-
getTableVisibility
-
setTableVisibility
-
setKeyIndexMultiKey
-
setIndexMetadata
-
addIndex
public void addIndex(String indexName, String indexModuleName, IndexMultiKey imk, QueryPlanIndexItem indexItem) throws ExprValidationException - Throws:
ExprValidationException
-
getStateMgmtSettingsPrimaryKey
-
setStateMgmtSettingsPrimaryKey
-
getStateMgmtSettingsUnkeyed
-
setStateMgmtSettingsUnkeyed
-