public class GetQueriesResponse extends CommandResponse
| Constructor and Description |
|---|
GetQueriesResponse(java.lang.String text,
int statusCode,
java.lang.String contentType,
org.json.simple.JSONObject json,
GetQueriesCommand sourceCommand) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getColumnNames(java.lang.String queryName)
Returns the list of column names available in the given query name.
|
java.util.List<java.lang.String> |
getQueryNames()
Returns the list of available query names in the given schema.
|
java.lang.String |
getSchemaName()
Returns the schema name the queries in this response belong to.
|
findObject, getContentType, getParsedData, getProperty, getProperty, getRequiredVersion, getSourceCommand, getStatusCode, getTextpublic GetQueriesResponse(java.lang.String text,
int statusCode,
java.lang.String contentType,
org.json.simple.JSONObject json,
GetQueriesCommand sourceCommand)
public java.lang.String getSchemaName()
public java.util.List<java.lang.String> getQueryNames()
public java.util.List<java.lang.String> getColumnNames(java.lang.String queryName)
queryName - The query name to find.