OmniSciDB  340b00dbf6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
omnisci.thrift.ttypes.TColumnRange Class Reference
+ Inheritance diagram for omnisci.thrift.ttypes.TColumnRange:
+ Collaboration diagram for omnisci.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 3683 of file ttypes.py.

Constructor & Destructor Documentation

def omnisci.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 3699 of file ttypes.py.

3700  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,):
3701  self.type = type
3702  self.col_id = col_id
3703  self.table_id = table_id
3704  self.has_nulls = has_nulls
3705  self.int_min = int_min
3706  self.int_max = int_max
3707  self.bucket = bucket
3708  self.fp_min = fp_min
3709  self.fp_max = fp_max

Member Function Documentation

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

Definition at line 3821 of file ttypes.py.

3822  def __eq__(self, other):
3823  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.ttypes.TColumnRange.__ne__ (   self,
  other 
)

Definition at line 3824 of file ttypes.py.

3825  def __ne__(self, other):
3826  return not (self == other)
3827 
def omnisci.thrift.ttypes.TColumnRange.__repr__ (   self)

Definition at line 3816 of file ttypes.py.

3817  def __repr__(self):
3818  L = ['%s=%r' % (key, value)
3819  for key, value in self.__dict__.items()]
3820  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 omnisci.thrift.ttypes.TColumnRange.read (   self,
  iprot 
)

Definition at line 3710 of file ttypes.py.

References omnisci.serialized_result_set.ttypes.TResultSetBufferDescriptor.bucket, omnisci.thrift.ttypes.TColumnRange.bucket, omnisci.thrift.ttypes.TColumnType.col_id, omnisci.thrift.ttypes.TColumnRange.col_id, omnisci.thrift.ttypes.TColumnRange.fp_max, omnisci.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, omnisci.thrift.ttypes.TColumnRange.has_nulls, omnisci.thrift.ttypes.TColumnRange.int_max, omnisci.thrift.ttypes.TColumnRange.int_min, Catalog_Namespace::TableEpochInfo.table_id, Analyzer::ColumnVar.table_id, omnisci.thrift.ttypes.TPixelTableRowResult.table_id, omnisci.thrift.ttypes.TTableMeta.table_id, omnisci.thrift.ttypes.TColumnRange.table_id, omnisci.thrift.OmniSci.set_table_epoch_args.table_id, omnisci.thrift.OmniSci.get_table_epoch_args.table_id, omnisci.thrift.OmniSci.check_table_consistency_args.table_id, omnisci.thrift.OmniSci.checkpoint_args.table_id, com.mapd.parser.extension.ddl.omnisql.OmniSqlEncoding.type, com.mapd.parser.extension.ddl.omnisql.OmniSqlDataType.type, com.omnisci.jdbc.OmniSciArray.type, com.mapd.utility.db_vendors.Db_vendor_types.GisType.type, com.omnisci.jdbc.OmniSciColumnTypeTest.Answer.type, ConverterCreateParameter.type, omnisci.completion_hints.ttypes.TCompletionHint.type, omnisci.common.ttypes.TTypeInfo.type, omnisci.serialized_result_set.ttypes.TTargetInfo.type, omnisci.serialized_result_set.ttypes.TCountDistinctSet.type, omnisci.thrift.ttypes.TColumnRange.type, and omnisci.thrift.OmniSci.get_db_object_privs_args.type.

3711  def read(self, iprot):
3712  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
3713  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
3714  return
3715  iprot.readStructBegin()
3716  while True:
3717  (fname, ftype, fid) = iprot.readFieldBegin()
3718  if ftype == TType.STOP:
3719  break
3720  if fid == 1:
3721  if ftype == TType.I32:
3722  self.type = iprot.readI32()
3723  else:
3724  iprot.skip(ftype)
3725  elif fid == 2:
3726  if ftype == TType.I32:
3727  self.col_id = iprot.readI32()
3728  else:
3729  iprot.skip(ftype)
3730  elif fid == 3:
3731  if ftype == TType.I32:
3732  self.table_id = iprot.readI32()
3733  else:
3734  iprot.skip(ftype)
3735  elif fid == 4:
3736  if ftype == TType.BOOL:
3737  self.has_nulls = iprot.readBool()
3738  else:
3739  iprot.skip(ftype)
3740  elif fid == 5:
3741  if ftype == TType.I64:
3742  self.int_min = iprot.readI64()
3743  else:
3744  iprot.skip(ftype)
3745  elif fid == 6:
3746  if ftype == TType.I64:
3747  self.int_max = iprot.readI64()
3748  else:
3749  iprot.skip(ftype)
3750  elif fid == 7:
3751  if ftype == TType.I64:
3752  self.bucket = iprot.readI64()
3753  else:
3754  iprot.skip(ftype)
3755  elif fid == 8:
3756  if ftype == TType.DOUBLE:
3757  self.fp_min = iprot.readDouble()
3758  else:
3759  iprot.skip(ftype)
3760  elif fid == 9:
3761  if ftype == TType.DOUBLE:
3762  self.fp_max = iprot.readDouble()
3763  else:
3764  iprot.skip(ftype)
3765  else:
3766  iprot.skip(ftype)
3767  iprot.readFieldEnd()
3768  iprot.readStructEnd()
def omnisci.thrift.ttypes.TColumnRange.validate (   self)

Definition at line 3813 of file ttypes.py.

3814  def validate(self):
3815  return
def omnisci.thrift.ttypes.TColumnRange.write (   self,
  oprot 
)

Definition at line 3769 of file ttypes.py.

References omnisci.serialized_result_set.ttypes.TResultSetBufferDescriptor.bucket, omnisci.thrift.ttypes.TColumnRange.bucket, omnisci.thrift.ttypes.TColumnType.col_id, omnisci.thrift.ttypes.TColumnRange.col_id, omnisci.thrift.ttypes.TColumnRange.fp_max, omnisci.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, omnisci.thrift.ttypes.TColumnRange.has_nulls, omnisci.thrift.ttypes.TColumnRange.int_max, omnisci.thrift.ttypes.TColumnRange.int_min, Catalog_Namespace::TableEpochInfo.table_id, Analyzer::ColumnVar.table_id, omnisci.thrift.ttypes.TPixelTableRowResult.table_id, omnisci.thrift.ttypes.TTableMeta.table_id, omnisci.thrift.ttypes.TColumnRange.table_id, omnisci.thrift.OmniSci.set_table_epoch_args.table_id, omnisci.thrift.OmniSci.get_table_epoch_args.table_id, omnisci.thrift.OmniSci.check_table_consistency_args.table_id, omnisci.thrift.OmniSci.checkpoint_args.table_id, com.mapd.parser.extension.ddl.omnisql.OmniSqlEncoding.type, com.mapd.parser.extension.ddl.omnisql.OmniSqlDataType.type, com.omnisci.jdbc.OmniSciArray.type, com.mapd.utility.db_vendors.Db_vendor_types.GisType.type, com.omnisci.jdbc.OmniSciColumnTypeTest.Answer.type, ConverterCreateParameter.type, omnisci.completion_hints.ttypes.TCompletionHint.type, omnisci.common.ttypes.TTypeInfo.type, omnisci.serialized_result_set.ttypes.TTargetInfo.type, omnisci.serialized_result_set.ttypes.TCountDistinctSet.type, omnisci.thrift.ttypes.TColumnRange.type, and omnisci.thrift.OmniSci.get_db_object_privs_args.type.

3770  def write(self, oprot):
3771  if oprot._fast_encode is not None and self.thrift_spec is not None:
3772  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
3773  return
3774  oprot.writeStructBegin('TColumnRange')
3775  if self.type is not None:
3776  oprot.writeFieldBegin('type', TType.I32, 1)
3777  oprot.writeI32(self.type)
3778  oprot.writeFieldEnd()
3779  if self.col_id is not None:
3780  oprot.writeFieldBegin('col_id', TType.I32, 2)
3781  oprot.writeI32(self.col_id)
3782  oprot.writeFieldEnd()
3783  if self.table_id is not None:
3784  oprot.writeFieldBegin('table_id', TType.I32, 3)
3785  oprot.writeI32(self.table_id)
3786  oprot.writeFieldEnd()
3787  if self.has_nulls is not None:
3788  oprot.writeFieldBegin('has_nulls', TType.BOOL, 4)
3789  oprot.writeBool(self.has_nulls)
3790  oprot.writeFieldEnd()
3791  if self.int_min is not None:
3792  oprot.writeFieldBegin('int_min', TType.I64, 5)
3793  oprot.writeI64(self.int_min)
3794  oprot.writeFieldEnd()
3795  if self.int_max is not None:
3796  oprot.writeFieldBegin('int_max', TType.I64, 6)
3797  oprot.writeI64(self.int_max)
3798  oprot.writeFieldEnd()
3799  if self.bucket is not None:
3800  oprot.writeFieldBegin('bucket', TType.I64, 7)
3801  oprot.writeI64(self.bucket)
3802  oprot.writeFieldEnd()
3803  if self.fp_min is not None:
3804  oprot.writeFieldBegin('fp_min', TType.DOUBLE, 8)
3805  oprot.writeDouble(self.fp_min)
3806  oprot.writeFieldEnd()
3807  if self.fp_max is not None:
3808  oprot.writeFieldBegin('fp_max', TType.DOUBLE, 9)
3809  oprot.writeDouble(self.fp_max)
3810  oprot.writeFieldEnd()
3811  oprot.writeFieldStop()
3812  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TColumnRange.__dict__
private

Definition at line 3822 of file ttypes.py.

omnisci.thrift.ttypes.TColumnRange.bucket

Definition at line 3706 of file ttypes.py.

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

omnisci.thrift.ttypes.TColumnRange.col_id

Definition at line 3701 of file ttypes.py.

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

omnisci.thrift.ttypes.TColumnRange.fp_max

Definition at line 3708 of file ttypes.py.

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

omnisci.thrift.ttypes.TColumnRange.fp_min

Definition at line 3707 of file ttypes.py.

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

omnisci.thrift.ttypes.TColumnRange.has_nulls

Definition at line 3703 of file ttypes.py.

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

omnisci.thrift.ttypes.TColumnRange.int_max

Definition at line 3705 of file ttypes.py.

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

omnisci.thrift.ttypes.TColumnRange.int_min

Definition at line 3704 of file ttypes.py.

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

omnisci.thrift.ttypes.TColumnRange.table_id

Definition at line 3702 of file ttypes.py.

Referenced by omnisci.thrift.ttypes.TColumnRange.read(), omnisci.thrift.ttypes.TTableGeneration.read(), omnisci.thrift.ttypes.TInsertData.read(), omnisci.thrift.ttypes.TColumnRange.write(), omnisci.thrift.ttypes.TTableGeneration.write(), and omnisci.thrift.ttypes.TInsertData.write().

omnisci.thrift.ttypes.TColumnRange.type

Definition at line 3700 of file ttypes.py.

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


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