Package org.yamcs.yarch.query
Class Query
java.lang.Object
org.yamcs.yarch.query.Query
Helper class to programmatically build SQL queries.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CreateStreamQueryBuilder
createStream
(String stream) static CreateStreamQueryBuilder
createStream
(String stream, TupleDefinition tdef) static CreateTableQueryBuilder
createTable
(String table) static CreateTableQueryBuilder
createTable
(String table, TupleDefinition tdef) static DeleteFromTableQueryBuilder
deleteFromTable
(String table) static InsertIntoTableQueryBuilder
insertAppendIntoTable
(String table, String... columns) static InsertIntoTableQueryBuilder
insertAppendIntoTable
(String table, Tuple tuple) static InsertIntoTableQueryBuilder
insertIntoTable
(String table, String... columns) static InsertIntoTableQueryBuilder
insertIntoTable
(String table, Tuple tuple) static SelectStreamQueryBuilder
selectStream
(String stream) static SelectTableQueryBuilder
selectTable
(String table) static UpdateTableQueryBuilder
updateTable
(String table) static InsertIntoTableQueryBuilder
upsertAppendIntoTable
(String table, String... columns) static InsertIntoTableQueryBuilder
upsertAppendIntoTable
(String table, Tuple tuple) static InsertIntoTableQueryBuilder
upsertIntoTable
(String table, String... columns) static InsertIntoTableQueryBuilder
upsertIntoTable
(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
-