Sha256: fb7b62e4046936ff8e11facc5f6f025934a89b912e00b031d099b0374fda54e0

Contents?: true

Size: 1.91 KB

Versions: 7

Compression:

Stored size: 1.91 KB

Contents

// Copyright 2012 Cloudera Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

namespace cpp impala
namespace java com.cloudera.impala.thrift
namespace rb Impala.Protocol

typedef i64 TTimestamp
typedef i32 TPlanNodeId
typedef i32 TTupleId
typedef i32 TSlotId
typedef i32 TTableId

enum TPrimitiveType {
  INVALID_TYPE,
  BOOLEAN,
  TINYINT,
  SMALLINT,
  INT,
  BIGINT,
  FLOAT,
  DOUBLE,
  DATE,
  DATETIME,
  TIMESTAMP,
  STRING
}

enum TStmtType {
  QUERY,
  DDL, // Data definition, e.g. CREATE TABLE (includes read-only functions e.g. SHOW)
  DML // Data modification e.g. INSERT
}

// level of verboseness for "explain" output
// TODO: should this go somewhere else?
enum TExplainLevel {
  NORMAL,
  VERBOSE
}

// A THostPort represents a general network address. It includes both
// hostname and IP address fields in order to support use cases that may
// require either one or both these fields set. An example is those
// network addresses stored by the state-store which require IP addresses
// in order for the scheduler to correctly assign data locations to
// Impala backends but also fully qualified hostnames to be able to
// establish secure connections with subscribers. Which of the fields are
// set in general is usage specific.
struct THostPort {
  1: required string hostname
  2: required string ipaddress
  3: required i32 port
}

// Wire format for UniqueId
struct TUniqueId {
  1: required i64 hi
  2: required i64 lo
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
impala-0.1.6 thrift/Types.thrift
impala-0.1.5 thrift/Types.thrift
impala-0.1.4 thrift/Types.thrift
impala-0.1.3 thrift/Types.thrift
impala-0.1.2 thrift/Types.thrift
impala-0.1.1 thrift/Types.thrift
impala-0.1.0 thrift/Types.thrift