public class DruidMeta
extends org.apache.calcite.avatica.MetaImpl
org.apache.calcite.avatica.MetaImpl.ColumnNoNulls, org.apache.calcite.avatica.MetaImpl.ColumnNullable, org.apache.calcite.avatica.MetaImpl.ColumnNullableUnknown, org.apache.calcite.avatica.MetaImpl.MetaAttribute, org.apache.calcite.avatica.MetaImpl.MetaBestRowIdentifier, org.apache.calcite.avatica.MetaImpl.MetaCatalog, org.apache.calcite.avatica.MetaImpl.MetaClientInfoProperty, org.apache.calcite.avatica.MetaImpl.MetaColumn, org.apache.calcite.avatica.MetaImpl.MetaColumnPrivilege, org.apache.calcite.avatica.MetaImpl.MetaCrossReference, org.apache.calcite.avatica.MetaImpl.MetaExportedKey, org.apache.calcite.avatica.MetaImpl.MetaFunction, org.apache.calcite.avatica.MetaImpl.MetaFunctionColumn, org.apache.calcite.avatica.MetaImpl.MetaImportedKey, org.apache.calcite.avatica.MetaImpl.MetaIndexInfo, org.apache.calcite.avatica.MetaImpl.MetaPrimaryKey, org.apache.calcite.avatica.MetaImpl.MetaProcedure, org.apache.calcite.avatica.MetaImpl.MetaProcedureColumn, org.apache.calcite.avatica.MetaImpl.MetaPseudoColumn, org.apache.calcite.avatica.MetaImpl.MetaSchema, org.apache.calcite.avatica.MetaImpl.MetaSuperTable, org.apache.calcite.avatica.MetaImpl.MetaSuperType, org.apache.calcite.avatica.MetaImpl.MetaTable, org.apache.calcite.avatica.MetaImpl.MetaTablePrivilege, org.apache.calcite.avatica.MetaImpl.MetaTableType, org.apache.calcite.avatica.MetaImpl.MetaTypeInfo, org.apache.calcite.avatica.MetaImpl.MetaUdt, org.apache.calcite.avatica.MetaImpl.MetaVersionColumn, org.apache.calcite.avatica.MetaImpl.Named
org.apache.calcite.avatica.Meta.ConnectionHandle, org.apache.calcite.avatica.Meta.ConnectionProperties, org.apache.calcite.avatica.Meta.CursorFactory, org.apache.calcite.avatica.Meta.DatabaseProperty, org.apache.calcite.avatica.Meta.ExecuteBatchResult, org.apache.calcite.avatica.Meta.ExecuteResult, org.apache.calcite.avatica.Meta.Factory, org.apache.calcite.avatica.Meta.Frame, org.apache.calcite.avatica.Meta.MetaResultSet, org.apache.calcite.avatica.Meta.Pat, org.apache.calcite.avatica.Meta.PrepareCallback, org.apache.calcite.avatica.Meta.Signature, org.apache.calcite.avatica.Meta.StatementHandle, org.apache.calcite.avatica.Meta.StatementType, org.apache.calcite.avatica.Meta.Style
Constructor and Description |
---|
DruidMeta(PlannerFactory plannerFactory,
AvaticaServerConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
closeConnection(org.apache.calcite.avatica.Meta.ConnectionHandle ch) |
void |
closeStatement(org.apache.calcite.avatica.Meta.StatementHandle h) |
void |
commit(org.apache.calcite.avatica.Meta.ConnectionHandle ch) |
org.apache.calcite.avatica.Meta.ConnectionProperties |
connectionSync(org.apache.calcite.avatica.Meta.ConnectionHandle ch,
org.apache.calcite.avatica.Meta.ConnectionProperties connProps) |
Iterable<Object> |
createIterable(org.apache.calcite.avatica.Meta.StatementHandle statement,
org.apache.calcite.avatica.QueryState state,
org.apache.calcite.avatica.Meta.Signature signature,
List<org.apache.calcite.avatica.remote.TypedValue> parameterValues,
org.apache.calcite.avatica.Meta.Frame firstFrame) |
org.apache.calcite.avatica.Meta.StatementHandle |
createStatement(org.apache.calcite.avatica.Meta.ConnectionHandle ch) |
org.apache.calcite.avatica.Meta.ExecuteResult |
execute(org.apache.calcite.avatica.Meta.StatementHandle statement,
List<org.apache.calcite.avatica.remote.TypedValue> parameterValues,
int maxRowsInFirstFrame) |
org.apache.calcite.avatica.Meta.ExecuteResult |
execute(org.apache.calcite.avatica.Meta.StatementHandle statement,
List<org.apache.calcite.avatica.remote.TypedValue> parameterValues,
long maxRowCount)
Deprecated.
|
org.apache.calcite.avatica.Meta.ExecuteBatchResult |
executeBatch(org.apache.calcite.avatica.Meta.StatementHandle statement,
List<List<org.apache.calcite.avatica.remote.TypedValue>> parameterValues) |
org.apache.calcite.avatica.Meta.Frame |
fetch(org.apache.calcite.avatica.Meta.StatementHandle statement,
long offset,
int fetchMaxRowCount) |
org.apache.calcite.avatica.Meta.MetaResultSet |
getCatalogs(org.apache.calcite.avatica.Meta.ConnectionHandle ch) |
org.apache.calcite.avatica.Meta.MetaResultSet |
getColumns(org.apache.calcite.avatica.Meta.ConnectionHandle ch,
String catalog,
org.apache.calcite.avatica.Meta.Pat schemaPattern,
org.apache.calcite.avatica.Meta.Pat tableNamePattern,
org.apache.calcite.avatica.Meta.Pat columnNamePattern) |
Map<org.apache.calcite.avatica.Meta.DatabaseProperty,Object> |
getDatabaseProperties(org.apache.calcite.avatica.Meta.ConnectionHandle ch) |
org.apache.calcite.avatica.Meta.MetaResultSet |
getSchemas(org.apache.calcite.avatica.Meta.ConnectionHandle ch,
String catalog,
org.apache.calcite.avatica.Meta.Pat schemaPattern) |
org.apache.calcite.avatica.Meta.MetaResultSet |
getTables(org.apache.calcite.avatica.Meta.ConnectionHandle ch,
String catalog,
org.apache.calcite.avatica.Meta.Pat schemaPattern,
org.apache.calcite.avatica.Meta.Pat tableNamePattern,
List<String> typeList) |
org.apache.calcite.avatica.Meta.MetaResultSet |
getTableTypes(org.apache.calcite.avatica.Meta.ConnectionHandle ch) |
void |
openConnection(org.apache.calcite.avatica.Meta.ConnectionHandle ch,
Map<String,String> info) |
org.apache.calcite.avatica.Meta.StatementHandle |
prepare(org.apache.calcite.avatica.Meta.ConnectionHandle ch,
String sql,
long maxRowCount) |
org.apache.calcite.avatica.Meta.ExecuteResult |
prepareAndExecute(org.apache.calcite.avatica.Meta.StatementHandle statement,
String sql,
long maxRowCount,
int maxRowsInFirstFrame,
org.apache.calcite.avatica.Meta.PrepareCallback callback) |
org.apache.calcite.avatica.Meta.ExecuteResult |
prepareAndExecute(org.apache.calcite.avatica.Meta.StatementHandle h,
String sql,
long maxRowCount,
org.apache.calcite.avatica.Meta.PrepareCallback callback)
Deprecated.
|
org.apache.calcite.avatica.Meta.ExecuteBatchResult |
prepareAndExecuteBatch(org.apache.calcite.avatica.Meta.StatementHandle statement,
List<String> sqlCommands) |
void |
rollback(org.apache.calcite.avatica.Meta.ConnectionHandle ch) |
boolean |
syncResults(org.apache.calcite.avatica.Meta.StatementHandle sh,
org.apache.calcite.avatica.QueryState state,
long offset) |
checkParameterValueHasNull, collect, collect, columnMetaData, columnMetaData, createCursor, createEmptyResultSet, createResultSet, fetch, fieldMetaData, getAttributes, getBestRowIdentifier, getClientInfoProperties, getColumnNullability, getColumnPrivileges, getCrossReference, getExportedKeys, getFunctionColumns, getFunctions, getImportedKeys, getIndexInfo, getPrimaryKeys, getProcedureColumns, getProcedures, getPseudoColumns, getSuperTables, getSuperTypes, getTablePrivileges, getTypeInfo, getUDTs, getVersionColumns
@Inject public DruidMeta(PlannerFactory plannerFactory, AvaticaServerConfig config)
public void openConnection(org.apache.calcite.avatica.Meta.ConnectionHandle ch, Map<String,String> info)
openConnection
in interface org.apache.calcite.avatica.Meta
openConnection
in class org.apache.calcite.avatica.MetaImpl
public void closeConnection(org.apache.calcite.avatica.Meta.ConnectionHandle ch)
closeConnection
in interface org.apache.calcite.avatica.Meta
closeConnection
in class org.apache.calcite.avatica.MetaImpl
public org.apache.calcite.avatica.Meta.ConnectionProperties connectionSync(org.apache.calcite.avatica.Meta.ConnectionHandle ch, org.apache.calcite.avatica.Meta.ConnectionProperties connProps)
connectionSync
in interface org.apache.calcite.avatica.Meta
connectionSync
in class org.apache.calcite.avatica.MetaImpl
public org.apache.calcite.avatica.Meta.StatementHandle createStatement(org.apache.calcite.avatica.Meta.ConnectionHandle ch)
createStatement
in interface org.apache.calcite.avatica.Meta
createStatement
in class org.apache.calcite.avatica.MetaImpl
public org.apache.calcite.avatica.Meta.StatementHandle prepare(org.apache.calcite.avatica.Meta.ConnectionHandle ch, String sql, long maxRowCount)
@Deprecated public org.apache.calcite.avatica.Meta.ExecuteResult prepareAndExecute(org.apache.calcite.avatica.Meta.StatementHandle h, String sql, long maxRowCount, org.apache.calcite.avatica.Meta.PrepareCallback callback) throws org.apache.calcite.avatica.NoSuchStatementException
org.apache.calcite.avatica.NoSuchStatementException
public org.apache.calcite.avatica.Meta.ExecuteResult prepareAndExecute(org.apache.calcite.avatica.Meta.StatementHandle statement, String sql, long maxRowCount, int maxRowsInFirstFrame, org.apache.calcite.avatica.Meta.PrepareCallback callback) throws org.apache.calcite.avatica.NoSuchStatementException
org.apache.calcite.avatica.NoSuchStatementException
public org.apache.calcite.avatica.Meta.ExecuteBatchResult prepareAndExecuteBatch(org.apache.calcite.avatica.Meta.StatementHandle statement, List<String> sqlCommands) throws org.apache.calcite.avatica.NoSuchStatementException
org.apache.calcite.avatica.NoSuchStatementException
public org.apache.calcite.avatica.Meta.ExecuteBatchResult executeBatch(org.apache.calcite.avatica.Meta.StatementHandle statement, List<List<org.apache.calcite.avatica.remote.TypedValue>> parameterValues) throws org.apache.calcite.avatica.NoSuchStatementException
org.apache.calcite.avatica.NoSuchStatementException
public org.apache.calcite.avatica.Meta.Frame fetch(org.apache.calcite.avatica.Meta.StatementHandle statement, long offset, int fetchMaxRowCount) throws org.apache.calcite.avatica.NoSuchStatementException, org.apache.calcite.avatica.MissingResultsException
org.apache.calcite.avatica.NoSuchStatementException
org.apache.calcite.avatica.MissingResultsException
@Deprecated public org.apache.calcite.avatica.Meta.ExecuteResult execute(org.apache.calcite.avatica.Meta.StatementHandle statement, List<org.apache.calcite.avatica.remote.TypedValue> parameterValues, long maxRowCount) throws org.apache.calcite.avatica.NoSuchStatementException
org.apache.calcite.avatica.NoSuchStatementException
public org.apache.calcite.avatica.Meta.ExecuteResult execute(org.apache.calcite.avatica.Meta.StatementHandle statement, List<org.apache.calcite.avatica.remote.TypedValue> parameterValues, int maxRowsInFirstFrame) throws org.apache.calcite.avatica.NoSuchStatementException
org.apache.calcite.avatica.NoSuchStatementException
public Iterable<Object> createIterable(org.apache.calcite.avatica.Meta.StatementHandle statement, org.apache.calcite.avatica.QueryState state, org.apache.calcite.avatica.Meta.Signature signature, List<org.apache.calcite.avatica.remote.TypedValue> parameterValues, org.apache.calcite.avatica.Meta.Frame firstFrame)
createIterable
in interface org.apache.calcite.avatica.Meta
createIterable
in class org.apache.calcite.avatica.MetaImpl
public void closeStatement(org.apache.calcite.avatica.Meta.StatementHandle h)
public boolean syncResults(org.apache.calcite.avatica.Meta.StatementHandle sh, org.apache.calcite.avatica.QueryState state, long offset) throws org.apache.calcite.avatica.NoSuchStatementException
org.apache.calcite.avatica.NoSuchStatementException
public void commit(org.apache.calcite.avatica.Meta.ConnectionHandle ch)
public void rollback(org.apache.calcite.avatica.Meta.ConnectionHandle ch)
public Map<org.apache.calcite.avatica.Meta.DatabaseProperty,Object> getDatabaseProperties(org.apache.calcite.avatica.Meta.ConnectionHandle ch)
getDatabaseProperties
in interface org.apache.calcite.avatica.Meta
getDatabaseProperties
in class org.apache.calcite.avatica.MetaImpl
public org.apache.calcite.avatica.Meta.MetaResultSet getCatalogs(org.apache.calcite.avatica.Meta.ConnectionHandle ch)
getCatalogs
in interface org.apache.calcite.avatica.Meta
getCatalogs
in class org.apache.calcite.avatica.MetaImpl
public org.apache.calcite.avatica.Meta.MetaResultSet getSchemas(org.apache.calcite.avatica.Meta.ConnectionHandle ch, String catalog, org.apache.calcite.avatica.Meta.Pat schemaPattern)
getSchemas
in interface org.apache.calcite.avatica.Meta
getSchemas
in class org.apache.calcite.avatica.MetaImpl
public org.apache.calcite.avatica.Meta.MetaResultSet getTables(org.apache.calcite.avatica.Meta.ConnectionHandle ch, String catalog, org.apache.calcite.avatica.Meta.Pat schemaPattern, org.apache.calcite.avatica.Meta.Pat tableNamePattern, List<String> typeList)
getTables
in interface org.apache.calcite.avatica.Meta
getTables
in class org.apache.calcite.avatica.MetaImpl
public org.apache.calcite.avatica.Meta.MetaResultSet getColumns(org.apache.calcite.avatica.Meta.ConnectionHandle ch, String catalog, org.apache.calcite.avatica.Meta.Pat schemaPattern, org.apache.calcite.avatica.Meta.Pat tableNamePattern, org.apache.calcite.avatica.Meta.Pat columnNamePattern)
getColumns
in interface org.apache.calcite.avatica.Meta
getColumns
in class org.apache.calcite.avatica.MetaImpl
public org.apache.calcite.avatica.Meta.MetaResultSet getTableTypes(org.apache.calcite.avatica.Meta.ConnectionHandle ch)
getTableTypes
in interface org.apache.calcite.avatica.Meta
getTableTypes
in class org.apache.calcite.avatica.MetaImpl
Copyright © 2011–2017. All rights reserved.