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

Public Member Functions

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

Public Attributes

 row_set
 
 copy_params
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - row_set
 - copy_params

Definition at line 2307 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.thrift.ttypes.TDetectResult.__init__ (   self,
  row_set = None,
  copy_params = None 
)

Definition at line 2316 of file ttypes.py.

2317  def __init__(self, row_set=None, copy_params=None,):
2318  self.row_set = row_set
2319  self.copy_params = copy_params

Member Function Documentation

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

Definition at line 2370 of file ttypes.py.

2371  def __eq__(self, other):
2372  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TDetectResult.__ne__ (   self,
  other 
)

Definition at line 2373 of file ttypes.py.

2374  def __ne__(self, other):
2375  return not (self == other)
2376 
def heavydb.thrift.ttypes.TDetectResult.__repr__ (   self)

Definition at line 2365 of file ttypes.py.

2366  def __repr__(self):
2367  L = ['%s=%r' % (key, value)
2368  for key, value in self.__dict__.items()]
2369  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.TDetectResult.read (   self,
  iprot 
)

Definition at line 2320 of file ttypes.py.

References foreign_storage::ParseBufferRequest.copy_params, stuff.copy_params, import_export::DataStreamSink.copy_params, heavydb.thrift.ttypes.TDetectResult.copy_params, heavydb.thrift.Heavy.detect_column_types_args.copy_params, heavydb.thrift.Heavy.import_table_args.copy_params, heavydb.thrift.Heavy.import_geo_table_args.copy_params, heavydb.thrift.Heavy.get_first_geo_file_in_archive_args.copy_params, heavydb.thrift.Heavy.get_all_files_in_archive_args.copy_params, heavydb.thrift.Heavy.get_layers_in_geo_file_args.copy_params, heavydb.thrift.ttypes.TQueryResult.row_set, and heavydb.thrift.ttypes.TDetectResult.row_set.

2321  def read(self, iprot):
2322  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
2323  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
2324  return
2325  iprot.readStructBegin()
2326  while True:
2327  (fname, ftype, fid) = iprot.readFieldBegin()
2328  if ftype == TType.STOP:
2329  break
2330  if fid == 1:
2331  if ftype == TType.STRUCT:
2332  self.row_set = TRowSet()
2333  self.row_set.read(iprot)
2334  else:
2335  iprot.skip(ftype)
2336  elif fid == 2:
2337  if ftype == TType.STRUCT:
2338  self.copy_params = TCopyParams()
2339  self.copy_params.read(iprot)
2340  else:
2341  iprot.skip(ftype)
2342  else:
2343  iprot.skip(ftype)
2344  iprot.readFieldEnd()
2345  iprot.readStructEnd()
def heavydb.thrift.ttypes.TDetectResult.validate (   self)

Definition at line 2362 of file ttypes.py.

2363  def validate(self):
2364  return
def heavydb.thrift.ttypes.TDetectResult.write (   self,
  oprot 
)

Definition at line 2346 of file ttypes.py.

References foreign_storage::ParseBufferRequest.copy_params, stuff.copy_params, import_export::DataStreamSink.copy_params, heavydb.thrift.ttypes.TDetectResult.copy_params, heavydb.thrift.Heavy.detect_column_types_args.copy_params, heavydb.thrift.Heavy.import_table_args.copy_params, heavydb.thrift.Heavy.import_geo_table_args.copy_params, heavydb.thrift.Heavy.get_first_geo_file_in_archive_args.copy_params, heavydb.thrift.Heavy.get_all_files_in_archive_args.copy_params, heavydb.thrift.Heavy.get_layers_in_geo_file_args.copy_params, heavydb.thrift.ttypes.TQueryResult.row_set, and heavydb.thrift.ttypes.TDetectResult.row_set.

2347  def write(self, oprot):
2348  if oprot._fast_encode is not None and self.thrift_spec is not None:
2349  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
2350  return
2351  oprot.writeStructBegin('TDetectResult')
2352  if self.row_set is not None:
2353  oprot.writeFieldBegin('row_set', TType.STRUCT, 1)
2354  self.row_set.write(oprot)
2355  oprot.writeFieldEnd()
2356  if self.copy_params is not None:
2357  oprot.writeFieldBegin('copy_params', TType.STRUCT, 2)
2358  self.copy_params.write(oprot)
2359  oprot.writeFieldEnd()
2360  oprot.writeFieldStop()
2361  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TDetectResult.__dict__
private

Definition at line 2371 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.ttypes.TDetectResult.copy_params

Definition at line 2318 of file ttypes.py.

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

heavydb.thrift.ttypes.TDetectResult.row_set

Definition at line 2317 of file ttypes.py.

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


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