Module: Hexspace

Defined in:
lib/hexspace.rb,
lib/hexspace/client.rb,
lib/hexspace/result.rb,
lib/hexspace/version.rb,
lib/hexspace/tcli_service.rb,
lib/hexspace/sasl_transport.rb,
lib/hexspace/tcli_service_types.rb,
lib/hexspace/tcli_service_constants.rb

Defined Under Namespace

Modules: TCLIService, TFetchOrientation, TGetInfoType, TJobExecutionStatus, TOperationState, TOperationType, TProtocolVersion, TStatusCode, TTypeId Classes: Client, Error, Result, SaslTransport, TArrayTypeEntry, TBinaryColumn, TBoolColumn, TBoolValue, TByteColumn, TByteValue, TCancelDelegationTokenReq, TCancelDelegationTokenResp, TCancelOperationReq, TCancelOperationResp, TCloseOperationReq, TCloseOperationResp, TCloseSessionReq, TCloseSessionResp, TColumn, TColumnDesc, TColumnValue, TDoubleColumn, TDoubleValue, TExecuteStatementReq, TExecuteStatementResp, TFetchResultsReq, TFetchResultsResp, TGetCatalogsReq, TGetCatalogsResp, TGetColumnsReq, TGetColumnsResp, TGetCrossReferenceReq, TGetCrossReferenceResp, TGetDelegationTokenReq, TGetDelegationTokenResp, TGetFunctionsReq, TGetFunctionsResp, TGetInfoReq, TGetInfoResp, TGetInfoValue, TGetOperationStatusReq, TGetOperationStatusResp, TGetPrimaryKeysReq, TGetPrimaryKeysResp, TGetResultSetMetadataReq, TGetResultSetMetadataResp, TGetSchemasReq, TGetSchemasResp, TGetTableTypesReq, TGetTableTypesResp, TGetTablesReq, TGetTablesResp, TGetTypeInfoReq, TGetTypeInfoResp, THandleIdentifier, TI16Column, TI16Value, TI32Column, TI32Value, TI64Column, TI64Value, TMapTypeEntry, TOpenSessionReq, TOpenSessionResp, TOperationHandle, TPrimitiveTypeEntry, TProgressUpdateResp, TRenewDelegationTokenReq, TRenewDelegationTokenResp, TRow, TRowSet, TSessionHandle, TStatus, TStringColumn, TStringValue, TStructTypeEntry, TTableSchema, TTypeDesc, TTypeEntry, TTypeQualifierValue, TTypeQualifiers, TUnionTypeEntry, TUserDefinedTypeEntry

Constant Summary collapse

VERSION =
"0.2.1"
PRIMITIVE_TYPES =
Set.new([
      0,
      1,
      2,
      3,
      4,
      5,
      6,
      7,
      8,
      9,
      15,
      16,
      17,
      18,
      19,
      20,
      21,
])
COMPLEX_TYPES =
Set.new([
      10,
      11,
      12,
      13,
      14,
])
COLLECTION_TYPES =
Set.new([
      10,
      11,
])
TYPE_NAMES =
{
      10 => %q"ARRAY",
      4 => %q"BIGINT",
      9 => %q"BINARY",
      0 => %q"BOOLEAN",
      19 => %q"CHAR",
      17 => %q"DATE",
      15 => %q"DECIMAL",
      6 => %q"DOUBLE",
      5 => %q"FLOAT",
      21 => %q"INTERVAL_DAY_TIME",
      20 => %q"INTERVAL_YEAR_MONTH",
      3 => %q"INT",
      11 => %q"MAP",
      16 => %q"NULL",
      2 => %q"SMALLINT",
      7 => %q"STRING",
      12 => %q"STRUCT",
      8 => %q"TIMESTAMP",
      1 => %q"TINYINT",
      13 => %q"UNIONTYPE",
      18 => %q"VARCHAR",
}
CHARACTER_MAXIMUM_LENGTH =
%q"characterMaximumLength"
PRECISION =
%q"precision"
SCALE =
%q"scale"