OmniSciDB  a5dc49c757
 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 21974 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 21986 of file Heavy.py.

21987  def __init__(self, session=None, granteeName=None, ObjectName=None, objectType=None, permissions=None,):
21988  self.session = session
21989  self.granteeName = granteeName
21990  self.ObjectName = ObjectName
21991  self.objectType = objectType
21992  self.permissions = permissions

Member Function Documentation

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

Definition at line 22069 of file Heavy.py.

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

Definition at line 22072 of file Heavy.py.

22073  def __ne__(self, other):
22074  return not (self == other)
22075 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 22064 of file Heavy.py.

22065  def __repr__(self):
22066  L = ['%s=%r' % (key, value)
22067  for key, value in self.__dict__.items()]
22068  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 21993 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_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.

21994  def read(self, iprot):
21995  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
21996  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
21997  return
21998  iprot.readStructBegin()
21999  while True:
22000  (fname, ftype, fid) = iprot.readFieldBegin()
22001  if ftype == TType.STOP:
22002  break
22003  if fid == 1:
22004  if ftype == TType.STRING:
22005  self.session = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
22006  else:
22007  iprot.skip(ftype)
22008  elif fid == 2:
22009  if ftype == TType.STRING:
22010  self.granteeName = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
22011  else:
22012  iprot.skip(ftype)
22013  elif fid == 3:
22014  if ftype == TType.STRING:
22015  self.ObjectName = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
22016  else:
22017  iprot.skip(ftype)
22018  elif fid == 4:
22019  if ftype == TType.I32:
22020  self.objectType = iprot.readI32()
22021  else:
22022  iprot.skip(ftype)
22023  elif fid == 5:
22024  if ftype == TType.STRUCT:
22025  self.permissions = TDBObjectPermissions()
22026  self.permissions.read(iprot)
22027  else:
22028  iprot.skip(ftype)
22029  else:
22030  iprot.skip(ftype)
22031  iprot.readFieldEnd()
22032  iprot.readStructEnd()
def heavydb.thrift.Heavy.has_object_privilege_args.validate (   self)

Definition at line 22061 of file Heavy.py.

22062  def validate(self):
22063  return
def heavydb.thrift.Heavy.has_object_privilege_args.write (   self,
  oprot 
)

Definition at line 22033 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_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.

22034  def write(self, oprot):
22035  if oprot._fast_encode is not None and self.thrift_spec is not None:
22036  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
22037  return
22038  oprot.writeStructBegin('has_object_privilege_args')
22039  if self.session is not None:
22040  oprot.writeFieldBegin('session', TType.STRING, 1)
22041  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
22042  oprot.writeFieldEnd()
22043  if self.granteeName is not None:
22044  oprot.writeFieldBegin('granteeName', TType.STRING, 2)
22045  oprot.writeString(self.granteeName.encode('utf-8') if sys.version_info[0] == 2 else self.granteeName)
22046  oprot.writeFieldEnd()
22047  if self.ObjectName is not None:
22048  oprot.writeFieldBegin('ObjectName', TType.STRING, 3)
22049  oprot.writeString(self.ObjectName.encode('utf-8') if sys.version_info[0] == 2 else self.ObjectName)
22050  oprot.writeFieldEnd()
22051  if self.objectType is not None:
22052  oprot.writeFieldBegin('objectType', TType.I32, 4)
22053  oprot.writeI32(self.objectType)
22054  oprot.writeFieldEnd()
22055  if self.permissions is not None:
22056  oprot.writeFieldBegin('permissions', TType.STRUCT, 5)
22057  self.permissions.write(oprot)
22058  oprot.writeFieldEnd()
22059  oprot.writeFieldStop()
22060  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.Heavy.has_object_privilege_args.__dict__
private

Definition at line 22070 of file Heavy.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.Heavy.has_object_privilege_args.granteeName

Definition at line 21988 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 21989 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 21990 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 21991 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 21987 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.get_function_names_args.read(), heavydb.thrift.Heavy.get_runtime_function_names_args.read(), heavydb.thrift.Heavy.get_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(), heavydb.thrift.Heavy.get_table_function_details_args.write(), heavydb.thrift.Heavy.get_function_names_args.write(), heavydb.thrift.Heavy.get_runtime_function_names_args.write(), and heavydb.thrift.Heavy.get_function_details_args.write().


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