Package org.apache.calcite.avatica
Class Meta.Signature
java.lang.Object
org.apache.calcite.avatica.Meta.Signature
- Enclosing interface:
- Meta
Result of preparing a statement.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal List<ColumnMetaData>final Meta.CursorFactoryfinal List<AvaticaParameter>final Stringfinal Meta.StatementType -
Constructor Summary
ConstructorsConstructorDescriptionSignature(List<ColumnMetaData> columns, String sql, List<AvaticaParameter> parameters, Map<String, Object> internalParameters, Meta.CursorFactory cursorFactory, Meta.StatementType statementType) Creates a Signature. -
Method Summary
Modifier and TypeMethodDescriptionstatic Meta.Signaturecreate(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.booleanstatic Meta.SignaturefromProto(org.apache.calcite.avatica.proto.Common.Signature protoSignature) inthashCode()sanitize()Creates a copy of this Signature with null lists and maps converted to empty.setCursorFactory(Meta.CursorFactory cursorFactory) Returns a copy of this Signature, substituting given CursorFactory.org.apache.calcite.avatica.proto.Common.SignaturetoProto()
-
Field Details
-
columns
-
sql
-
parameters
-
internalParameters
-
cursorFactory
-
statementType
-
-
Constructor Details
-
Signature
public Signature(List<ColumnMetaData> columns, String sql, List<AvaticaParameter> parameters, Map<String, Object> internalParameters, Meta.CursorFactory cursorFactory, Meta.StatementType statementType) Creates a Signature.
-
-
Method Details
-
create
public 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. -
setCursorFactory
Returns a copy of this Signature, substituting given CursorFactory. -
sanitize
Creates a copy of this Signature with null lists and maps converted to empty. -
toProto
public org.apache.calcite.avatica.proto.Common.Signature toProto() -
fromProto
public static Meta.Signature fromProto(org.apache.calcite.avatica.proto.Common.Signature protoSignature) -
hashCode
public int hashCode() -
equals
-