OmniSciDB  c1a53651b2
 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 4058 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 4074 of file ttypes.py.

4075  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,):
4076  self.type = type
4077  self.col_id = col_id
4078  self.table_id = table_id
4079  self.has_nulls = has_nulls
4080  self.int_min = int_min
4081  self.int_max = int_max
4082  self.bucket = bucket
4083  self.fp_min = fp_min
4084  self.fp_max = fp_max

Member Function Documentation

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

Definition at line 4196 of file ttypes.py.

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

Definition at line 4199 of file ttypes.py.

4200  def __ne__(self, other):
4201  return not (self == other)
4202 
def heavydb.thrift.ttypes.TColumnRange.__repr__ (   self)

Definition at line 4191 of file ttypes.py.

4192  def __repr__(self):
4193  L = ['%s=%r' % (key, value)
4194  for key, value in self.__dict__.items()]
4195  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 4085 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, NoneEncoder< T >.has_nulls, FixedLengthEncoder< T, V >.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, 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.

4086  def read(self, iprot):
4087  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
4088  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
4089  return
4090  iprot.readStructBegin()
4091  while True:
4092  (fname, ftype, fid) = iprot.readFieldBegin()
4093  if ftype == TType.STOP:
4094  break
4095  if fid == 1:
4096  if ftype == TType.I32:
4097  self.type = iprot.readI32()
4098  else:
4099  iprot.skip(ftype)
4100  elif fid == 2:
4101  if ftype == TType.I32:
4102  self.col_id = iprot.readI32()
4103  else:
4104  iprot.skip(ftype)
4105  elif fid == 3:
4106  if ftype == TType.I32:
4107  self.table_id = iprot.readI32()
4108  else:
4109  iprot.skip(ftype)
4110  elif fid == 4:
4111  if ftype == TType.BOOL:
4112  self.has_nulls = iprot.readBool()
4113  else:
4114  iprot.skip(ftype)
4115  elif fid == 5:
4116  if ftype == TType.I64:
4117  self.int_min = iprot.readI64()
4118  else:
4119  iprot.skip(ftype)
4120  elif fid == 6:
4121  if ftype == TType.I64:
4122  self.int_max = iprot.readI64()
4123  else:
4124  iprot.skip(ftype)
4125  elif fid == 7:
4126  if ftype == TType.I64:
4127  self.bucket = iprot.readI64()
4128  else:
4129  iprot.skip(ftype)
4130  elif fid == 8:
4131  if ftype == TType.DOUBLE:
4132  self.fp_min = iprot.readDouble()
4133  else:
4134  iprot.skip(ftype)
4135  elif fid == 9:
4136  if ftype == TType.DOUBLE:
4137  self.fp_max = iprot.readDouble()
4138  else:
4139  iprot.skip(ftype)
4140  else:
4141  iprot.skip(ftype)
4142  iprot.readFieldEnd()
4143  iprot.readStructEnd()
def heavydb.thrift.ttypes.TColumnRange.validate (   self)

Definition at line 4188 of file ttypes.py.

4189  def validate(self):
4190  return
def heavydb.thrift.ttypes.TColumnRange.write (   self,
  oprot 
)

Definition at line 4144 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, NoneEncoder< T >.has_nulls, FixedLengthEncoder< T, V >.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, 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.

4145  def write(self, oprot):
4146  if oprot._fast_encode is not None and self.thrift_spec is not None:
4147  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
4148  return
4149  oprot.writeStructBegin('TColumnRange')
4150  if self.type is not None:
4151  oprot.writeFieldBegin('type', TType.I32, 1)
4152  oprot.writeI32(self.type)
4153  oprot.writeFieldEnd()
4154  if self.col_id is not None:
4155  oprot.writeFieldBegin('col_id', TType.I32, 2)
4156  oprot.writeI32(self.col_id)
4157  oprot.writeFieldEnd()
4158  if self.table_id is not None:
4159  oprot.writeFieldBegin('table_id', TType.I32, 3)
4160  oprot.writeI32(self.table_id)
4161  oprot.writeFieldEnd()
4162  if self.has_nulls is not None:
4163  oprot.writeFieldBegin('has_nulls', TType.BOOL, 4)
4164  oprot.writeBool(self.has_nulls)
4165  oprot.writeFieldEnd()
4166  if self.int_min is not None:
4167  oprot.writeFieldBegin('int_min', TType.I64, 5)
4168  oprot.writeI64(self.int_min)
4169  oprot.writeFieldEnd()
4170  if self.int_max is not None:
4171  oprot.writeFieldBegin('int_max', TType.I64, 6)
4172  oprot.writeI64(self.int_max)
4173  oprot.writeFieldEnd()
4174  if self.bucket is not None:
4175  oprot.writeFieldBegin('bucket', TType.I64, 7)
4176  oprot.writeI64(self.bucket)
4177  oprot.writeFieldEnd()
4178  if self.fp_min is not None:
4179  oprot.writeFieldBegin('fp_min', TType.DOUBLE, 8)
4180  oprot.writeDouble(self.fp_min)
4181  oprot.writeFieldEnd()
4182  if self.fp_max is not None:
4183  oprot.writeFieldBegin('fp_max', TType.DOUBLE, 9)
4184  oprot.writeDouble(self.fp_max)
4185  oprot.writeFieldEnd()
4186  oprot.writeFieldStop()
4187  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TColumnRange.__dict__
private

Definition at line 4197 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.ttypes.TColumnRange.bucket

Definition at line 4081 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 4076 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 4083 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 4082 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 4078 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 4080 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 4079 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 4077 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 4075 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.PrimitiveNode.is_array_text_encoding_dict(), generate_TableFunctionsFactory_init.TypeNode.is_column(), 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: