Modifier and Type | Field and Description |
---|---|
List<ColumnMetaData> |
columns |
Meta.CursorFactory |
cursorFactory |
Map<String,Object> |
internalParameters |
List<AvaticaParameter> |
parameters |
String |
sql |
Meta.StatementType |
statementType |
Constructor and Description |
---|
Signature(List<ColumnMetaData> columns,
String sql,
List<AvaticaParameter> parameters,
Map<String,Object> internalParameters,
Meta.CursorFactory cursorFactory,
Meta.StatementType statementType)
Creates a Signature.
|
Modifier and Type | Method and Description |
---|---|
static Meta.Signature |
create(List<ColumnMetaData> columns,
String sql,
List<AvaticaParameter> parameters,
Meta.CursorFactory cursorFactory,
Meta.StatementType statementType)
Used by Jackson to create a Signature by de-serializing JSON.
|
boolean |
equals(Object o) |
static Meta.Signature |
fromProto(org.apache.calcite.avatica.proto.Common.Signature protoSignature) |
int |
hashCode() |
Meta.Signature |
sanitize()
Creates a copy of this Signature with null lists and maps converted to
empty.
|
Meta.Signature |
setCursorFactory(Meta.CursorFactory cursorFactory)
Returns a copy of this Signature, substituting given CursorFactory.
|
org.apache.calcite.avatica.proto.Common.Signature |
toProto() |
public final List<ColumnMetaData> columns
public final String sql
public final List<AvaticaParameter> parameters
public final Meta.CursorFactory cursorFactory
public final Meta.StatementType statementType
public Signature(List<ColumnMetaData> columns, String sql, List<AvaticaParameter> parameters, Map<String,Object> internalParameters, Meta.CursorFactory cursorFactory, Meta.StatementType statementType)
public static Meta.Signature create(List<ColumnMetaData> columns, String sql, List<AvaticaParameter> parameters, Meta.CursorFactory cursorFactory, Meta.StatementType statementType)
public Meta.Signature setCursorFactory(Meta.CursorFactory cursorFactory)
public Meta.Signature sanitize()
public org.apache.calcite.avatica.proto.Common.Signature toProto()
public static Meta.Signature fromProto(org.apache.calcite.avatica.proto.Common.Signature protoSignature)
Copyright © 2012-2024 Apache Software Foundation. All Rights Reserved.