| Type | Name and description |
|---|---|
static java.lang.String |
KSQLREGEXClass for interacting and normalizing behavior using the Confluent KSQL RESTful API. |
java.lang.String |
passwordThe password for basic authentication for the KSQL server. |
java.lang.String |
restUrlThe base REST endpoint for the KSQL server. |
java.lang.String |
usernameThe username for basic authentication for the KSQL server. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.Object |
createKsql(java.lang.String ksql, java.util.Map properties)Executes a KSQL statement using the KSQL RESTful API. |
|
java.lang.Object |
createKsql(java.util.List ksql, java.util.Map properties)Executes a List of KSQL statements using the KSQL RESTful API. |
|
java.lang.Object |
createKsql(java.lang.String ksql, java.lang.Boolean earliest = false)Executes a KSQL statement using the KSQL RESTful API. |
|
java.lang.Object |
createKsql(java.util.List ksql, java.lang.Boolean earliest = false)Executes a List of KSQL statements using the KSQL RESTful API. |
|
java.lang.Object |
dropKsql(java.lang.String ksql, java.util.Map properties)Executes a KSQL DROP statement using the KSQL RESTful API. |
|
java.lang.Object |
execKsql(java.lang.String ksql, java.util.Map properties)Executes a KSQL statement using the KSQL RESTful API. |
|
java.lang.Object |
execKsql(java.util.List ksql, java.util.Map properties)Executes a List of KSQL statements using the KSQL RESTful API. |
|
java.lang.Object |
execKsql(java.lang.String ksql, java.lang.Boolean earliest = false)Executes a KSQL statement using the KSQL RESTful API. |
|
java.lang.Object |
execKsql(java.util.List ksql, java.lang.Boolean earliest = false)Executes a List of KSQL statements using the KSQL RESTful API. |
|
java.io.File |
getExtensionDir()Returns File object for the KSQL Server property value for 'ksql.extension.dir'. |
|
java.lang.String |
getExtensionPath()Returns KSQL Server property value for 'ksql.extension.dir'. |
|
java.lang.String |
getObjectName(java.lang.String sql)Returns the object type from a KSQL CREATE or DROP statement. |
|
java.lang.Object |
getProperties()Returns KSQL Server properties from the KSQL RESTful API using the 'LIST PROPERTIES' sql statement. |
|
java.lang.String |
getProperty(java.lang.String property)Returns an individual KSQL server property using getProperties. |
|
java.lang.Object |
getQueryIds(java.lang.String object)Returns KSQL Server query IDs for all 'writeQueries' and 'readQueries' associated with a particular object. |
|
java.lang.Object |
getReadQueries(java.lang.String object)Returns KSQL Server 'readQueries' object, detailing all the queries currently reading a particular table or stream. |
|
java.lang.String |
getSchemaRegistry()Returns the KSQL Server property value for 'ksql.schema.registry.url'. |
|
java.lang.Object |
getSourceDescription(java.lang.String object)Returns KSQL Server 'sourceDescription' object, containing the results of the 'DESCRIBE' command. |
|
java.lang.String |
getStatementType(java.lang.String sql)Returns the statement type from a KSQL CREATE or DROP statement. |
|
java.lang.Object |
getStreams()Return a list of stream objects |
|
java.lang.Object |
getTopics()Return a list of topic objects |
|
java.lang.Object |
getWriteQueries(java.lang.String object)Returns KSQL Server 'writeQueries' object, detailing all the queries currently writing to a particular table or stream. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Class for interacting and normalizing behavior using the Confluent KSQL RESTful API.
The password for basic authentication for the KSQL server. If unspecified, Basic Authentication credentials are not provided.
The base REST endpoint for the KSQL server. Defaults to 'http://localhost:8088', which is handy when developing against Confluent CLI.
The username for basic authentication for the KSQL server. If unspecified, Basic Authentication credentials are not provided.
Executes a KSQL statement using the KSQL RESTful API. Optimized for issuing CREATE TABLE/STREAM statements.
ksql - the KSQL statement to execute.properties - Any KSQL parameters to include with the KSQL execution.Executes a List of KSQL statements using the KSQL RESTful API. Optimized for issuing CREATE TABLE/STREAM statements.
ksql - the List of KSQL statements to execute.properties - Any KSQL parameters to include with the KSQL execution.Executes a KSQL statement using the KSQL RESTful API. Optimized for issuing CREATE TABLE/STREAM statements.
ksql - The KSQL statement to execute.earliest - Boolean dictating that the statement should set 'auto.offset.reset' to 'earliest'.Executes a List of KSQL statements using the KSQL RESTful API. Optimized for issuing CREATE TABLE/STREAM statements.
ksql - the List of KSQL statements to execute.earliest - Boolean dictating that the statement should set 'auto.offset.reset' to 'earliest'.Executes a KSQL DROP statement using the KSQL RESTful API. Manages issuing TERMINATE statements as part of the DROP, if desired.
ksql - the KSQL DROP statement to execute.properties - Any KSQL parameters to include with the KSQL execution.Executes a KSQL statement using the KSQL RESTful API.
ksql - the KSQL statement to execute.properties - Any KSQL parameters to include with the KSQL execution.Executes a List of KSQL statements using the KSQL RESTful API.
ksql - the List of KSQL statements to execute.properties - Any KSQL parameters to include with the KSQL execution.Executes a KSQL statement using the KSQL RESTful API.
ksql - The KSQL statement to execute.earliest - Boolean dictating that the statement should set 'auto.offset.reset' to 'earliest'.Executes a List of KSQL statements using the KSQL RESTful API.
ksql - the List of KSQL statements to execute.earliest - Boolean dictating that the statement should set 'auto.offset.reset' to 'earliest'.Returns File object for the KSQL Server property value for 'ksql.extension.dir'.
Returns KSQL Server property value for 'ksql.extension.dir'.
Returns the object type from a KSQL CREATE or DROP statement.
Returns KSQL Server properties from the KSQL RESTful API using the 'LIST PROPERTIES' sql statement.
Returns an individual KSQL server property using getProperties. This is a helper method, used to return individual properties in other methods such as getExtensionPath and getSchemaRegistry.
property - The individual property to return a value for.Returns KSQL Server query IDs for all 'writeQueries' and 'readQueries' associated with a particular object.
Returns KSQL Server 'readQueries' object, detailing all the queries currently reading a particular table or stream.
Returns the KSQL Server property value for 'ksql.schema.registry.url'.
Returns KSQL Server 'sourceDescription' object, containing the results of the 'DESCRIBE' command.
Returns the statement type from a KSQL CREATE or DROP statement.
Return a list of stream objects
Return a list of topic objects
Returns KSQL Server 'writeQueries' object, detailing all the queries currently writing to a particular table or stream.