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

Public Member Functions

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

Public Attributes

 session
 
 granteeName
 
 ObjectName
 
 objectType
 
 permissions
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - session
 - granteeName
 - ObjectName
 - objectType
 - permissions

Definition at line 22037 of file Heavy.py.

Constructor & Destructor Documentation

def heavydb.thrift.Heavy.has_object_privilege_args.__init__ (   self,
  session = None,
  granteeName = None,
  ObjectName = None,
  objectType = None,
  permissions = None 
)

Definition at line 22049 of file Heavy.py.

22050  def __init__(self, session=None, granteeName=None, ObjectName=None, objectType=None, permissions=None,):
22051  self.session = session
22052  self.granteeName = granteeName
22053  self.ObjectName = ObjectName
22054  self.objectType = objectType
22055  self.permissions = permissions

Member Function Documentation

def heavydb.thrift.Heavy.has_object_privilege_args.__eq__ (   self,
  other 
)

Definition at line 22132 of file Heavy.py.

22133  def __eq__(self, other):
22134  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.Heavy.has_object_privilege_args.__ne__ (   self,
  other 
)

Definition at line 22135 of file Heavy.py.

22136  def __ne__(self, other):
22137  return not (self == other)
22138 all_structs.append(has_object_privilege_args)
has_object_privilege_args.thrift_spec = (
def heavydb.thrift.Heavy.has_object_privilege_args.__repr__ (   self)

Definition at line 22127 of file Heavy.py.

22128  def __repr__(self):
22129  L = ['%s=%r' % (key, value)
22130  for key, value in self.__dict__.items()]
22131  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.Heavy.has_object_privilege_args.read (   self,
  iprot 
)

Definition at line 22056 of file Heavy.py.

References com.mapd.parser.extension.ddl.SqlShowPolicies.granteeName, com.mapd.parser.extension.ddl.SqlDropPolicy.granteeName, com.mapd.parser.extension.ddl.SqlCreatePolicy.granteeName, heavydb.thrift.Heavy.has_role_args.granteeName, heavydb.thrift.Heavy.has_object_privilege_args.granteeName, heavydb.thrift.Heavy.has_object_privilege_args.ObjectName, ObjectRoleDescriptor.objectType, heavydb.thrift.Heavy.has_object_privilege_args.objectType, heavydb.thrift.Heavy.share_dashboards_args.permissions, heavydb.thrift.Heavy.share_dashboard_args.permissions, heavydb.thrift.Heavy.unshare_dashboard_args.permissions, heavydb.thrift.Heavy.unshare_dashboards_args.permissions, heavydb.thrift.Heavy.has_object_privilege_args.permissions, com.mapd.calcite.parser.HeavyDBUser.session, ai.heavy.jdbc.HeavyAIStatement.session, ai.heavy.jdbc.HeavyAIPreparedStatement.session, com.mapd.parser.server.test.TestDBServer.ConnInfo.session, com.mapd.logrunner.LogRunner.myThread.session, com.mapd.utility.SQLImporter.session, ai.heavy.jdbc.HeavyAIConnection.session, heavydb.thrift.Heavy.disconnect_args.session, heavydb.thrift.Heavy.switch_database_args.session, heavydb.thrift.Heavy.clone_session_args.session, heavydb.thrift.Heavy.get_server_status_args.session, heavydb.thrift.Heavy.get_status_args.session, heavydb.thrift.Heavy.get_hardware_info_args.session, heavydb.thrift.Heavy.get_tables_args.session, heavydb.thrift.Heavy.get_tables_for_database_args.session, heavydb.thrift.Heavy.get_physical_tables_args.session, heavydb.thrift.Heavy.get_views_args.session, heavydb.thrift.Heavy.get_tables_meta_args.session, heavydb.thrift.Heavy.get_table_details_args.session, heavydb.thrift.Heavy.get_table_details_for_database_args.session, heavydb.thrift.Heavy.get_internal_table_details_args.session, heavydb.thrift.Heavy.get_internal_table_details_for_database_args.session, heavydb.thrift.Heavy.get_users_args.session, heavydb.thrift.Heavy.get_databases_args.session, heavydb.thrift.Heavy.start_heap_profile_args.session, heavydb.thrift.Heavy.stop_heap_profile_args.session, heavydb.thrift.Heavy.get_heap_profile_args.session, heavydb.thrift.Heavy.get_memory_args.session, heavydb.thrift.Heavy.clear_cpu_memory_args.session, heavydb.thrift.Heavy.clear_gpu_memory_args.session, heavydb.thrift.Heavy.set_table_epoch_args.session, heavydb.thrift.Heavy.set_table_epoch_by_name_args.session, heavydb.thrift.Heavy.get_table_epoch_args.session, heavydb.thrift.Heavy.get_table_epoch_by_name_args.session, heavydb.thrift.Heavy.get_table_epochs_args.session, heavydb.thrift.Heavy.set_table_epochs_args.session, heavydb.thrift.Heavy.get_session_info_args.session, heavydb.thrift.Heavy.get_queries_info_args.session, heavydb.thrift.Heavy.set_leaf_info_args.session, heavydb.thrift.Heavy.sql_execute_args.session, heavydb.thrift.Heavy.sql_execute_df_args.session, heavydb.thrift.Heavy.sql_execute_gdf_args.session, heavydb.thrift.Heavy.deallocate_df_args.session, heavydb.thrift.Heavy.sql_validate_args.session, heavydb.thrift.Heavy.get_completion_hints_args.session, heavydb.thrift.Heavy.set_execution_mode_args.session, heavydb.thrift.Heavy.render_vega_args.session, heavydb.thrift.Heavy.get_result_row_for_pixel_args.session, heavydb.thrift.Heavy.create_custom_expression_args.session, heavydb.thrift.Heavy.get_custom_expressions_args.session, heavydb.thrift.Heavy.update_custom_expression_args.session, heavydb.thrift.Heavy.delete_custom_expressions_args.session, heavydb.thrift.Heavy.get_dashboard_args.session, heavydb.thrift.Heavy.get_dashboards_args.session, heavydb.thrift.Heavy.create_dashboard_args.session, heavydb.thrift.Heavy.replace_dashboard_args.session, heavydb.thrift.Heavy.delete_dashboard_args.session, heavydb.thrift.Heavy.share_dashboards_args.session, heavydb.thrift.Heavy.delete_dashboards_args.session, heavydb.thrift.Heavy.share_dashboard_args.session, heavydb.thrift.Heavy.unshare_dashboard_args.session, heavydb.thrift.Heavy.unshare_dashboards_args.session, heavydb.thrift.Heavy.get_dashboard_grantees_args.session, heavydb.thrift.Heavy.get_link_view_args.session, heavydb.thrift.Heavy.create_link_args.session, heavydb.thrift.Heavy.load_table_binary_args.session, heavydb.thrift.Heavy.load_table_binary_columnar_args.session, heavydb.thrift.Heavy.load_table_binary_columnar_polys_args.session, heavydb.thrift.Heavy.load_table_binary_arrow_args.session, heavydb.thrift.Heavy.load_table_args.session, heavydb.thrift.Heavy.detect_column_types_args.session, heavydb.thrift.Heavy.create_table_args.session, heavydb.thrift.Heavy.import_table_args.session, heavydb.thrift.Heavy.import_geo_table_args.session, heavydb.thrift.Heavy.import_table_status_args.session, heavydb.thrift.Heavy.get_first_geo_file_in_archive_args.session, heavydb.thrift.Heavy.get_all_files_in_archive_args.session, heavydb.thrift.Heavy.get_layers_in_geo_file_args.session, heavydb.thrift.Heavy.query_get_outer_fragment_count_args.session, heavydb.thrift.Heavy.check_table_consistency_args.session, heavydb.thrift.Heavy.start_render_query_args.session, heavydb.thrift.Heavy.insert_data_args.session, heavydb.thrift.Heavy.insert_chunks_args.session, heavydb.thrift.Heavy.checkpoint_args.session, heavydb.thrift.Heavy.get_roles_args.session, heavydb.thrift.Heavy.get_db_objects_for_grantee_args.session, heavydb.thrift.Heavy.get_db_object_privs_args.session, heavydb.thrift.Heavy.get_all_roles_for_user_args.session, heavydb.thrift.Heavy.get_all_effective_roles_for_user_args.session, heavydb.thrift.Heavy.has_role_args.session, and heavydb.thrift.Heavy.has_object_privilege_args.session.

22057  def read(self, iprot):
22058  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
22059  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
22060  return
22061  iprot.readStructBegin()
22062  while True:
22063  (fname, ftype, fid) = iprot.readFieldBegin()
22064  if ftype == TType.STOP:
22065  break
22066  if fid == 1:
22067  if ftype == TType.STRING:
22068  self.session = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
22069  else:
22070  iprot.skip(ftype)
22071  elif fid == 2:
22072  if ftype == TType.STRING:
22073  self.granteeName = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
22074  else:
22075  iprot.skip(ftype)
22076  elif fid == 3:
22077  if ftype == TType.STRING:
22078  self.ObjectName = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
22079  else:
22080  iprot.skip(ftype)
22081  elif fid == 4:
22082  if ftype == TType.I32:
22083  self.objectType = iprot.readI32()
22084  else:
22085  iprot.skip(ftype)
22086  elif fid == 5:
22087  if ftype == TType.STRUCT:
22088  self.permissions = TDBObjectPermissions()
22089  self.permissions.read(iprot)
22090  else:
22091  iprot.skip(ftype)
22092  else:
22093  iprot.skip(ftype)
22094  iprot.readFieldEnd()
22095  iprot.readStructEnd()
def heavydb.thrift.Heavy.has_object_privilege_args.validate (   self)

Definition at line 22124 of file Heavy.py.

22125  def validate(self):
22126  return
def heavydb.thrift.Heavy.has_object_privilege_args.write (   self,
  oprot 
)

Definition at line 22096 of file Heavy.py.

References com.mapd.parser.extension.ddl.SqlShowPolicies.granteeName, com.mapd.parser.extension.ddl.SqlDropPolicy.granteeName, com.mapd.parser.extension.ddl.SqlCreatePolicy.granteeName, heavydb.thrift.Heavy.has_role_args.granteeName, heavydb.thrift.Heavy.has_object_privilege_args.granteeName, heavydb.thrift.Heavy.has_object_privilege_args.ObjectName, ObjectRoleDescriptor.objectType, heavydb.thrift.Heavy.has_object_privilege_args.objectType, heavydb.thrift.Heavy.share_dashboards_args.permissions, heavydb.thrift.Heavy.share_dashboard_args.permissions, heavydb.thrift.Heavy.unshare_dashboard_args.permissions, heavydb.thrift.Heavy.unshare_dashboards_args.permissions, heavydb.thrift.Heavy.has_object_privilege_args.permissions, com.mapd.calcite.parser.HeavyDBUser.session, ai.heavy.jdbc.HeavyAIStatement.session, ai.heavy.jdbc.HeavyAIPreparedStatement.session, com.mapd.parser.server.test.TestDBServer.ConnInfo.session, com.mapd.logrunner.LogRunner.myThread.session, com.mapd.utility.SQLImporter.session, ai.heavy.jdbc.HeavyAIConnection.session, heavydb.thrift.Heavy.disconnect_args.session, heavydb.thrift.Heavy.switch_database_args.session, heavydb.thrift.Heavy.clone_session_args.session, heavydb.thrift.Heavy.get_server_status_args.session, heavydb.thrift.Heavy.get_status_args.session, heavydb.thrift.Heavy.get_hardware_info_args.session, heavydb.thrift.Heavy.get_tables_args.session, heavydb.thrift.Heavy.get_tables_for_database_args.session, heavydb.thrift.Heavy.get_physical_tables_args.session, heavydb.thrift.Heavy.get_views_args.session, heavydb.thrift.Heavy.get_tables_meta_args.session, heavydb.thrift.Heavy.get_table_details_args.session, heavydb.thrift.Heavy.get_table_details_for_database_args.session, heavydb.thrift.Heavy.get_internal_table_details_args.session, heavydb.thrift.Heavy.get_internal_table_details_for_database_args.session, heavydb.thrift.Heavy.get_users_args.session, heavydb.thrift.Heavy.get_databases_args.session, heavydb.thrift.Heavy.start_heap_profile_args.session, heavydb.thrift.Heavy.stop_heap_profile_args.session, heavydb.thrift.Heavy.get_heap_profile_args.session, heavydb.thrift.Heavy.get_memory_args.session, heavydb.thrift.Heavy.clear_cpu_memory_args.session, heavydb.thrift.Heavy.clear_gpu_memory_args.session, heavydb.thrift.Heavy.set_table_epoch_args.session, heavydb.thrift.Heavy.set_table_epoch_by_name_args.session, heavydb.thrift.Heavy.get_table_epoch_args.session, heavydb.thrift.Heavy.get_table_epoch_by_name_args.session, heavydb.thrift.Heavy.get_table_epochs_args.session, heavydb.thrift.Heavy.set_table_epochs_args.session, heavydb.thrift.Heavy.get_session_info_args.session, heavydb.thrift.Heavy.get_queries_info_args.session, heavydb.thrift.Heavy.set_leaf_info_args.session, heavydb.thrift.Heavy.sql_execute_args.session, heavydb.thrift.Heavy.sql_execute_df_args.session, heavydb.thrift.Heavy.sql_execute_gdf_args.session, heavydb.thrift.Heavy.deallocate_df_args.session, heavydb.thrift.Heavy.sql_validate_args.session, heavydb.thrift.Heavy.get_completion_hints_args.session, heavydb.thrift.Heavy.set_execution_mode_args.session, heavydb.thrift.Heavy.render_vega_args.session, heavydb.thrift.Heavy.get_result_row_for_pixel_args.session, heavydb.thrift.Heavy.create_custom_expression_args.session, heavydb.thrift.Heavy.get_custom_expressions_args.session, heavydb.thrift.Heavy.update_custom_expression_args.session, heavydb.thrift.Heavy.delete_custom_expressions_args.session, heavydb.thrift.Heavy.get_dashboard_args.session, heavydb.thrift.Heavy.get_dashboards_args.session, heavydb.thrift.Heavy.create_dashboard_args.session, heavydb.thrift.Heavy.replace_dashboard_args.session, heavydb.thrift.Heavy.delete_dashboard_args.session, heavydb.thrift.Heavy.share_dashboards_args.session, heavydb.thrift.Heavy.delete_dashboards_args.session, heavydb.thrift.Heavy.share_dashboard_args.session, heavydb.thrift.Heavy.unshare_dashboard_args.session, heavydb.thrift.Heavy.unshare_dashboards_args.session, heavydb.thrift.Heavy.get_dashboard_grantees_args.session, heavydb.thrift.Heavy.get_link_view_args.session, heavydb.thrift.Heavy.create_link_args.session, heavydb.thrift.Heavy.load_table_binary_args.session, heavydb.thrift.Heavy.load_table_binary_columnar_args.session, heavydb.thrift.Heavy.load_table_binary_columnar_polys_args.session, heavydb.thrift.Heavy.load_table_binary_arrow_args.session, heavydb.thrift.Heavy.load_table_args.session, heavydb.thrift.Heavy.detect_column_types_args.session, heavydb.thrift.Heavy.create_table_args.session, heavydb.thrift.Heavy.import_table_args.session, heavydb.thrift.Heavy.import_geo_table_args.session, heavydb.thrift.Heavy.import_table_status_args.session, heavydb.thrift.Heavy.get_first_geo_file_in_archive_args.session, heavydb.thrift.Heavy.get_all_files_in_archive_args.session, heavydb.thrift.Heavy.get_layers_in_geo_file_args.session, heavydb.thrift.Heavy.query_get_outer_fragment_count_args.session, heavydb.thrift.Heavy.check_table_consistency_args.session, heavydb.thrift.Heavy.start_render_query_args.session, heavydb.thrift.Heavy.insert_data_args.session, heavydb.thrift.Heavy.insert_chunks_args.session, heavydb.thrift.Heavy.checkpoint_args.session, heavydb.thrift.Heavy.get_roles_args.session, heavydb.thrift.Heavy.get_db_objects_for_grantee_args.session, heavydb.thrift.Heavy.get_db_object_privs_args.session, heavydb.thrift.Heavy.get_all_roles_for_user_args.session, heavydb.thrift.Heavy.get_all_effective_roles_for_user_args.session, heavydb.thrift.Heavy.has_role_args.session, and heavydb.thrift.Heavy.has_object_privilege_args.session.

22097  def write(self, oprot):
22098  if oprot._fast_encode is not None and self.thrift_spec is not None:
22099  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
22100  return
22101  oprot.writeStructBegin('has_object_privilege_args')
22102  if self.session is not None:
22103  oprot.writeFieldBegin('session', TType.STRING, 1)
22104  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
22105  oprot.writeFieldEnd()
22106  if self.granteeName is not None:
22107  oprot.writeFieldBegin('granteeName', TType.STRING, 2)
22108  oprot.writeString(self.granteeName.encode('utf-8') if sys.version_info[0] == 2 else self.granteeName)
22109  oprot.writeFieldEnd()
22110  if self.ObjectName is not None:
22111  oprot.writeFieldBegin('ObjectName', TType.STRING, 3)
22112  oprot.writeString(self.ObjectName.encode('utf-8') if sys.version_info[0] == 2 else self.ObjectName)
22113  oprot.writeFieldEnd()
22114  if self.objectType is not None:
22115  oprot.writeFieldBegin('objectType', TType.I32, 4)
22116  oprot.writeI32(self.objectType)
22117  oprot.writeFieldEnd()
22118  if self.permissions is not None:
22119  oprot.writeFieldBegin('permissions', TType.STRUCT, 5)
22120  self.permissions.write(oprot)
22121  oprot.writeFieldEnd()
22122  oprot.writeFieldStop()
22123  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.Heavy.has_object_privilege_args.__dict__
private

Definition at line 22133 of file Heavy.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.Heavy.has_object_privilege_args.granteeName

Definition at line 22051 of file Heavy.py.

Referenced by heavydb.thrift.Heavy.has_object_privilege_args.read(), and heavydb.thrift.Heavy.has_object_privilege_args.write().

heavydb.thrift.Heavy.has_object_privilege_args.ObjectName

Definition at line 22052 of file Heavy.py.

Referenced by heavydb.thrift.Heavy.has_object_privilege_args.read(), and heavydb.thrift.Heavy.has_object_privilege_args.write().

heavydb.thrift.Heavy.has_object_privilege_args.objectType

Definition at line 22053 of file Heavy.py.

Referenced by heavydb.thrift.ttypes.TDBObject.read(), heavydb.thrift.Heavy.has_object_privilege_args.read(), heavydb.thrift.ttypes.TDBObject.write(), and heavydb.thrift.Heavy.has_object_privilege_args.write().

heavydb.thrift.Heavy.has_object_privilege_args.permissions

Definition at line 22054 of file Heavy.py.

Referenced by heavydb.thrift.ttypes.TDashboardGrantees.read(), heavydb.thrift.Heavy.has_object_privilege_args.read(), heavydb.thrift.ttypes.TDashboardGrantees.write(), and heavydb.thrift.Heavy.has_object_privilege_args.write().

heavydb.thrift.Heavy.has_object_privilege_args.session

Definition at line 22050 of file Heavy.py.

Referenced by heavydb.thrift.Heavy.has_object_privilege_args.read(), heavydb.thrift.Heavy.set_license_key_args.read(), heavydb.thrift.Heavy.get_license_claims_args.read(), heavydb.thrift.Heavy.get_device_parameters_args.read(), heavydb.thrift.Heavy.register_runtime_extension_functions_args.read(), heavydb.thrift.Heavy.get_table_function_names_args.read(), heavydb.thrift.Heavy.get_runtime_table_function_names_args.read(), heavydb.thrift.Heavy.get_table_function_details_args.read(), heavydb.thrift.Heavy.has_object_privilege_args.write(), heavydb.thrift.Heavy.set_license_key_args.write(), heavydb.thrift.Heavy.get_license_claims_args.write(), heavydb.thrift.Heavy.get_device_parameters_args.write(), heavydb.thrift.Heavy.register_runtime_extension_functions_args.write(), heavydb.thrift.Heavy.get_table_function_names_args.write(), heavydb.thrift.Heavy.get_runtime_table_function_names_args.write(), and heavydb.thrift.Heavy.get_table_function_details_args.write().


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