java.lang.Object
org.yamcs.yarch.streamsql.SimpleStreamSqlStatement
org.yamcs.yarch.streamsql.CreateTableStatement
- All Implemented Interfaces:
StreamSqlStatement
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCreateTableStatement(boolean ifNotExists, String tableName, TupleDefinition tupleDefinition, List<String> primaryKey, List<String> index) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddHistogramColumn(String columnName) voidprotected voidexecute(ExecutionContext context, Consumer<Tuple> consumer) voidvoidsetPartitioning(PartitioningSpec pspec) voidsetTablespace(String tablespace) Methods inherited from class org.yamcs.yarch.streamsql.SimpleStreamSqlStatement
execute, execute, getResultDefinitionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
executein classSimpleStreamSqlStatement- Throws:
StreamSqlException
-
setEngine
-