Package org.yamcs.yarch.streamsql
Class CreateTableStatement
java.lang.Object
org.yamcs.yarch.streamsql.SimpleStreamSqlStatement
org.yamcs.yarch.streamsql.CreateTableStatement
- All Implemented Interfaces:
StreamSqlStatement
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionCreateTableStatement
(boolean ifNotExists, String tableName, TupleDefinition tupleDefinition, List<String> primaryKey, List<String> index) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addHistogramColumn
(String columnName) void
protected void
execute
(ExecutionContext context, Consumer<Tuple> consumer) void
void
setPartitioning
(PartitioningSpec pspec) void
setTablespace
(String tablespace) Methods inherited from class org.yamcs.yarch.streamsql.SimpleStreamSqlStatement
execute, execute, getResultDefinition
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.yamcs.yarch.streamsql.StreamSqlStatement
execute
-
Constructor Details
-
CreateTableStatement
-
-
Method Details
-
setTablespace
-
setPartitioning
-
addHistogramColumn
-
addTableFormatOption
-
execute
protected void execute(ExecutionContext context, Consumer<Tuple> consumer) throws StreamSqlException - Specified by:
execute
in classSimpleStreamSqlStatement
- Throws:
StreamSqlException
-
setEngine
-