java.lang.Object
org.yamcs.yarch.streamsql.SimpleStreamSqlStatement
org.yamcs.yarch.streamsql.CreateTableStatement
- All Implemented Interfaces:
StreamSqlStatement
-
Constructor Summary
ConstructorsConstructorDescriptionCreateTableStatement(boolean ifNotExists, String tableName, TupleDefinition tupleDefinition, List<String> primaryKey, List<String> index) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddHistogramColumn(String columnName) protected voidexecute(ExecutionContext context, Consumer<Tuple> consumer) voidsetCompressed(boolean c) 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
-
setCompressed
public void setCompressed(boolean c) -
addHistogramColumn
-
execute
protected void execute(ExecutionContext context, Consumer<Tuple> consumer) throws StreamSqlException - Specified by:
executein classSimpleStreamSqlStatement- Throws:
StreamSqlException
-
setEngine
-