OmniSciDB  cde582ebc3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
heavydb.thrift.ttypes.TColumnRange Class Reference
+ Inheritance diagram for heavydb.thrift.ttypes.TColumnRange:
+ Collaboration diagram for heavydb.thrift.ttypes.TColumnRange:

Public Member Functions

def __init__
 
def read
 
def write
 
def validate
 
def __repr__
 
def __eq__
 
def __ne__
 

Public Attributes

 type
 
 col_id
 
 table_id
 
 has_nulls
 
 int_min
 
 int_max
 
 bucket
 
 fp_min
 
 fp_max
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - type
 - col_id
 - table_id
 - has_nulls
 - int_min
 - int_max
 - bucket
 - fp_min
 - fp_max

Definition at line 4036 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.thrift.ttypes.TColumnRange.__init__ (   self,
  type = None,
  col_id = None,
  table_id = None,
  has_nulls = None,
  int_min = None,
  int_max = None,
  bucket = None,
  fp_min = None,
  fp_max = None 
)

Definition at line 4052 of file ttypes.py.

4053  def __init__(self, type=None, col_id=None, table_id=None, has_nulls=None, int_min=None, int_max=None, bucket=None, fp_min=None, fp_max=None,):
4054  self.type = type
4055  self.col_id = col_id
4056  self.table_id = table_id
4057  self.has_nulls = has_nulls
4058  self.int_min = int_min
4059  self.int_max = int_max
4060  self.bucket = bucket
4061  self.fp_min = fp_min
4062  self.fp_max = fp_max

Member Function Documentation

def heavydb.thrift.ttypes.TColumnRange.__eq__ (   self,
  other 
)

Definition at line 4174 of file ttypes.py.

4175  def __eq__(self, other):
4176  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TColumnRange.__ne__ (   self,
  other 
)

Definition at line 4177 of file ttypes.py.

4178  def __ne__(self, other):
4179  return not (self == other)
4180 
def heavydb.thrift.ttypes.TColumnRange.__repr__ (   self)

Definition at line 4169 of file ttypes.py.

4170  def __repr__(self):
4171  L = ['%s=%r' % (key, value)
4172  for key, value in self.__dict__.items()]
4173  return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
std::string join(T const &container, std::string const &delim)

+ Here is the call graph for this function:

def heavydb.thrift.ttypes.TColumnRange.read (   self,
  iprot 
)

Definition at line 4063 of file ttypes.py.

References heavydb.serialized_result_set.ttypes.TResultSetBufferDescriptor.bucket, heavydb.thrift.ttypes.TColumnRange.bucket, heavydb.thrift.ttypes.TColumnType.col_id, heavydb.thrift.ttypes.TColumnRange.col_id, heavydb.thrift.ttypes.TColumnRange.fp_max, heavydb.thrift.ttypes.TColumnRange.fp_min, ChunkStats.has_nulls, StringNoneEncoder.has_nulls, DateDaysEncoder< T, V >.has_nulls, FixedLengthEncoder< T, V >.has_nulls, NoneEncoder< T >.has_nulls, FixedLengthArrayNoneEncoder.has_nulls, ArrayNoneEncoder.has_nulls, heavydb.thrift.ttypes.TColumnRange.has_nulls, heavydb.thrift.ttypes.TColumnRange.int_max, heavydb.thrift.ttypes.TColumnRange.int_min, TableMetadata.table_id, foreign_storage::StorageDetails.table_id, Fragmenter_Namespace::InsertChunks.table_id, Catalog_Namespace::TableEpochInfo.table_id, Analyzer::ColumnVar.table_id, heavydb.thrift.ttypes.TPixelTableRowResult.table_id, heavydb.thrift.ttypes.TTableMeta.table_id, heavydb.thrift.ttypes.TColumnRange.table_id, heavydb.thrift.Heavy.set_table_epoch_args.table_id, heavydb.thrift.Heavy.get_table_epoch_args.table_id, heavydb.thrift.Heavy.get_table_epochs_args.table_id, heavydb.thrift.Heavy.check_table_consistency_args.table_id, heavydb.thrift.Heavy.checkpoint_args.table_id, com.mapd.parser.extension.ddl.heavysql.HeavySqlEncoding.type, com.mapd.parser.extension.ddl.heavysql.HeavySqlDataType.type, ai.heavy.jdbc.HeavyAIArray.type, com.mapd.parser.extension.ddl.SqlValidateSystem.type, com.mapd.utility.db_vendors.Db_vendor_types.GisType.type, ai.heavy.jdbc.HeavyAIColumnTypeTest.Answer.type, com.mapd.parser.extension.ddl.SqlGrantPrivilege.type, com.mapd.parser.extension.ddl.SqlRevokePrivilege.type, ConverterCreateParameter.type, foreign_storage::UserMapping.type, heavydb.completion_hints.ttypes.TCompletionHint.type, heavydb.common.ttypes.TTypeInfo.type, heavydb.serialized_result_set.ttypes.TTargetInfo.type, heavydb.serialized_result_set.ttypes.TCountDistinctSet.type, heavydb.thrift.ttypes.TColumnRange.type, and heavydb.thrift.Heavy.get_db_object_privs_args.type.

4064  def read(self, iprot):
4065  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
4066  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
4067  return
4068  iprot.readStructBegin()
4069  while True:
4070  (fname, ftype, fid) = iprot.readFieldBegin()
4071  if ftype == TType.STOP:
4072  break
4073  if fid == 1:
4074  if ftype == TType.I32:
4075  self.type = iprot.readI32()
4076  else:
4077  iprot.skip(ftype)
4078  elif fid == 2:
4079  if ftype == TType.I32:
4080  self.col_id = iprot.readI32()
4081  else:
4082  iprot.skip(ftype)
4083  elif fid == 3:
4084  if ftype == TType.I32:
4085  self.table_id = iprot.readI32()
4086  else:
4087  iprot.skip(ftype)
4088  elif fid == 4:
4089  if ftype == TType.BOOL:
4090  self.has_nulls = iprot.readBool()
4091  else:
4092  iprot.skip(ftype)
4093  elif fid == 5:
4094  if ftype == TType.I64:
4095  self.int_min = iprot.readI64()
4096  else:
4097  iprot.skip(ftype)
4098  elif fid == 6:
4099  if ftype == TType.I64:
4100  self.int_max = iprot.readI64()
4101  else:
4102  iprot.skip(ftype)
4103  elif fid == 7:
4104  if ftype == TType.I64:
4105  self.bucket = iprot.readI64()
4106  else:
4107  iprot.skip(ftype)
4108  elif fid == 8:
4109  if ftype == TType.DOUBLE:
4110  self.fp_min = iprot.readDouble()
4111  else:
4112  iprot.skip(ftype)
4113  elif fid == 9:
4114  if ftype == TType.DOUBLE:
4115  self.fp_max = iprot.readDouble()
4116  else:
4117  iprot.skip(ftype)
4118  else:
4119  iprot.skip(ftype)
4120  iprot.readFieldEnd()
4121  iprot.readStructEnd()
def heavydb.thrift.ttypes.TColumnRange.validate (   self)

Definition at line 4166 of file ttypes.py.

4167  def validate(self):
4168  return
def heavydb.thrift.ttypes.TColumnRange.write (   self,
  oprot 
)

Definition at line 4122 of file ttypes.py.

References heavydb.serialized_result_set.ttypes.TResultSetBufferDescriptor.bucket, heavydb.thrift.ttypes.TColumnRange.bucket, heavydb.thrift.ttypes.TColumnType.col_id, heavydb.thrift.ttypes.TColumnRange.col_id, heavydb.thrift.ttypes.TColumnRange.fp_max, heavydb.thrift.ttypes.TColumnRange.fp_min, ChunkStats.has_nulls, StringNoneEncoder.has_nulls, DateDaysEncoder< T, V >.has_nulls, FixedLengthEncoder< T, V >.has_nulls, NoneEncoder< T >.has_nulls, FixedLengthArrayNoneEncoder.has_nulls, ArrayNoneEncoder.has_nulls, heavydb.thrift.ttypes.TColumnRange.has_nulls, heavydb.thrift.ttypes.TColumnRange.int_max, heavydb.thrift.ttypes.TColumnRange.int_min, TableMetadata.table_id, foreign_storage::StorageDetails.table_id, Fragmenter_Namespace::InsertChunks.table_id, Catalog_Namespace::TableEpochInfo.table_id, Analyzer::ColumnVar.table_id, heavydb.thrift.ttypes.TPixelTableRowResult.table_id, heavydb.thrift.ttypes.TTableMeta.table_id, heavydb.thrift.ttypes.TColumnRange.table_id, heavydb.thrift.Heavy.set_table_epoch_args.table_id, heavydb.thrift.Heavy.get_table_epoch_args.table_id, heavydb.thrift.Heavy.get_table_epochs_args.table_id, heavydb.thrift.Heavy.check_table_consistency_args.table_id, heavydb.thrift.Heavy.checkpoint_args.table_id, com.mapd.parser.extension.ddl.heavysql.HeavySqlEncoding.type, com.mapd.parser.extension.ddl.heavysql.HeavySqlDataType.type, ai.heavy.jdbc.HeavyAIArray.type, com.mapd.parser.extension.ddl.SqlValidateSystem.type, com.mapd.utility.db_vendors.Db_vendor_types.GisType.type, ai.heavy.jdbc.HeavyAIColumnTypeTest.Answer.type, com.mapd.parser.extension.ddl.SqlGrantPrivilege.type, com.mapd.parser.extension.ddl.SqlRevokePrivilege.type, ConverterCreateParameter.type, foreign_storage::UserMapping.type, heavydb.completion_hints.ttypes.TCompletionHint.type, heavydb.common.ttypes.TTypeInfo.type, heavydb.serialized_result_set.ttypes.TTargetInfo.type, heavydb.serialized_result_set.ttypes.TCountDistinctSet.type, heavydb.thrift.ttypes.TColumnRange.type, and heavydb.thrift.Heavy.get_db_object_privs_args.type.

4123  def write(self, oprot):
4124  if oprot._fast_encode is not None and self.thrift_spec is not None:
4125  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
4126  return
4127  oprot.writeStructBegin('TColumnRange')
4128  if self.type is not None:
4129  oprot.writeFieldBegin('type', TType.I32, 1)
4130  oprot.writeI32(self.type)
4131  oprot.writeFieldEnd()
4132  if self.col_id is not None:
4133  oprot.writeFieldBegin('col_id', TType.I32, 2)
4134  oprot.writeI32(self.col_id)
4135  oprot.writeFieldEnd()
4136  if self.table_id is not None:
4137  oprot.writeFieldBegin('table_id', TType.I32, 3)
4138  oprot.writeI32(self.table_id)
4139  oprot.writeFieldEnd()
4140  if self.has_nulls is not None:
4141  oprot.writeFieldBegin('has_nulls', TType.BOOL, 4)
4142  oprot.writeBool(self.has_nulls)
4143  oprot.writeFieldEnd()
4144  if self.int_min is not None:
4145  oprot.writeFieldBegin('int_min', TType.I64, 5)
4146  oprot.writeI64(self.int_min)
4147  oprot.writeFieldEnd()
4148  if self.int_max is not None:
4149  oprot.writeFieldBegin('int_max', TType.I64, 6)
4150  oprot.writeI64(self.int_max)
4151  oprot.writeFieldEnd()
4152  if self.bucket is not None:
4153  oprot.writeFieldBegin('bucket', TType.I64, 7)
4154  oprot.writeI64(self.bucket)
4155  oprot.writeFieldEnd()
4156  if self.fp_min is not None:
4157  oprot.writeFieldBegin('fp_min', TType.DOUBLE, 8)
4158  oprot.writeDouble(self.fp_min)
4159  oprot.writeFieldEnd()
4160  if self.fp_max is not None:
4161  oprot.writeFieldBegin('fp_max', TType.DOUBLE, 9)
4162  oprot.writeDouble(self.fp_max)
4163  oprot.writeFieldEnd()
4164  oprot.writeFieldStop()
4165  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TColumnRange.__dict__
private

Definition at line 4175 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.ttypes.TColumnRange.bucket

Definition at line 4059 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TColumnRange.read(), and heavydb.thrift.ttypes.TColumnRange.write().

heavydb.thrift.ttypes.TColumnRange.col_id

Definition at line 4054 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TColumnRange.read(), and heavydb.thrift.ttypes.TColumnRange.write().

heavydb.thrift.ttypes.TColumnRange.fp_max

Definition at line 4061 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TColumnRange.read(), and heavydb.thrift.ttypes.TColumnRange.write().

heavydb.thrift.ttypes.TColumnRange.fp_min

Definition at line 4060 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TColumnRange.read(), and heavydb.thrift.ttypes.TColumnRange.write().

heavydb.thrift.ttypes.TColumnRange.has_nulls

Definition at line 4056 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TColumnRange.read(), and heavydb.thrift.ttypes.TColumnRange.write().

heavydb.thrift.ttypes.TColumnRange.int_max

Definition at line 4058 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TColumnRange.read(), and heavydb.thrift.ttypes.TColumnRange.write().

heavydb.thrift.ttypes.TColumnRange.int_min

Definition at line 4057 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TColumnRange.read(), and heavydb.thrift.ttypes.TColumnRange.write().

heavydb.thrift.ttypes.TColumnRange.table_id

Definition at line 4055 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TColumnRange.read(), heavydb.thrift.ttypes.TTableGeneration.read(), heavydb.thrift.ttypes.TInsertData.read(), heavydb.thrift.ttypes.TInsertChunks.read(), heavydb.thrift.ttypes.TTableEpochInfo.read(), heavydb.thrift.ttypes.TColumnRange.write(), heavydb.thrift.ttypes.TTableGeneration.write(), heavydb.thrift.ttypes.TInsertData.write(), heavydb.thrift.ttypes.TInsertChunks.write(), and heavydb.thrift.ttypes.TTableEpochInfo.write().

heavydb.thrift.ttypes.TColumnRange.type

Definition at line 4053 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Declaration.__getattr__(), generate_TableFunctionsFactory_init.ArgNode.__iter__(), generate_TableFunctionsFactory_init.Declaration.__repr__(), generate_TableFunctionsFactory_init.Declaration.__str__(), generate_TableFunctionsFactory_init.Token.__str__(), generate_TableFunctionsFactory_init.ArgNode.__str__(), generate_TableFunctionsFactory_init.ComposedNode.__str__(), generate_TableFunctionsFactory_init.TypeNode.is_column_list(), generate_TableFunctionsFactory_init.TypeNode.is_cursor(), generate_TableFunctionsFactory_init.TypeNode.is_output_buffer_sizer(), generate_TableFunctionsFactory_init.PrimitiveNode.is_text_encoding_dict(), heavydb.thrift.ttypes.TColumnRange.read(), heavydb.thrift.ttypes.TRenderDatum.read(), heavydb.thrift.ttypes.TColumnRange.write(), and heavydb.thrift.ttypes.TRenderDatum.write().


The documentation for this class was generated from the following file: