java.lang.Object
org.yamcs.yarch.query.Query
Helper class to programmatically build SQL queries.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CreateStreamQueryBuildercreateStream(String stream) static CreateStreamQueryBuildercreateStream(String stream, TupleDefinition tdef) static CreateTableQueryBuildercreateTable(String table) static CreateTableQueryBuildercreateTable(String table, TupleDefinition tdef) static DeleteFromTableQueryBuilderdeleteFromTable(String table) static InsertIntoTableQueryBuilderinsertAppendIntoTable(String table, String... columns) static InsertIntoTableQueryBuilderinsertAppendIntoTable(String table, Tuple tuple) static InsertIntoTableQueryBuilderinsertIntoTable(String table, String... columns) static InsertIntoTableQueryBuilderinsertIntoTable(String table, Tuple tuple) static SelectStreamQueryBuilderselectStream(String stream) static SelectTableQueryBuilderselectTable(String table) static UpdateTableQueryBuilderupdateTable(String table) static InsertIntoTableQueryBuilderupsertAppendIntoTable(String table, String... columns) static InsertIntoTableQueryBuilderupsertAppendIntoTable(String table, Tuple tuple) static InsertIntoTableQueryBuilderupsertIntoTable(String table, String... columns) static InsertIntoTableQueryBuilderupsertIntoTable(String table, Tuple tuple)
-
Constructor Details
-
Query
public Query()
-
-
Method Details
-
createTable
-
createTable
-
createStream
-
createStream
-
selectTable
-
selectStream
-
insertIntoTable
-
insertIntoTable
-
insertAppendIntoTable
-
insertAppendIntoTable
-
upsertIntoTable
-
upsertIntoTable
-
upsertAppendIntoTable
-
upsertAppendIntoTable
-
updateTable
-
deleteFromTable
-