7 using System.Collections.Generic;
42 public const string GRAPH =
"graph";
45 public const string PROC =
"proc";
48 public const string SCHEMA =
"schema";
54 public const string SYSTEM =
"system";
57 public const string TABLE =
"table";
70 public const string ADMIN =
"admin";
77 public const string CREATE =
"create";
80 public const string DELETE =
"delete";
86 public const string INSERT =
"insert";
92 public const string READ =
"read";
98 public const string UPDATE =
"update";
105 public const string WRITE =
"write";
129 public const string TRUE =
"true";
130 public const string FALSE =
"false";
296 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
462 IDictionary<string, string>
options =
null)
484 public const string TRUE =
"true";
487 public const string FALSE =
"false";
524 public IDictionary<string, string>
filters {
get;
set; } =
new Dictionary<string, string>();
527 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
bool has_permission
Indicates whether the specified user has the specified permission on the specified target.
const string DELETE
Delete rows from tables.
const string SEND_ALERT
Ability to send system alerts.
A set of string constants for the parameter has_permission.
A set of string constants for the parameter permission.
const string USER_ADMIN
Access to administer users and roles that do not have system_admin permission.
A set of parameters for Kinetica.hasPermission.
const string SCHEMA
Schema
string principal
Name of the user for which the permission is being checked.
KineticaData - class to help with Avro Encoding for Kinetica
const string UPDATE
Update access to the table.
string permission
Value of permission.
const string CREATE
Ability to create new objects of this type.
const string CONNECT
Connect access on the given data source or data sink.
const string WRITE
Access to write, change and delete objects.
string _object
Fully-qualified value of _object.
string object_type
Value of object_type.
IDictionary< string, string > options
Optional parameters.
const string ADMIN
Full read/write and administrative access on the object.
const string GRAPH
A Graph object
HasPermissionRequest(string principal, string _object, string object_type, string permission, IDictionary< string, string > options=null)
Constructs a HasPermissionRequest object with the specified parameters.
const string CONTEXT
Context
const string PROC
UDF Procedure
A set of string constants for the parameter object_type.
const string TABLE
Database Table
string object_type
The type of object being checked.
const string TABLE_MONITOR
Table monitor
IDictionary< string, string > info
Additional information.
A set of string constants for the parameter options.
const string DATASINK
Data Sink
const string DATASOURCE
Data Source
const string SQL_PROC
SQL Procedure
const string DIRECTORY
KiFS File Directory
const string EXECUTE
Ability to Execute the Procedure object.
string _object
Name of object to check for the requested permission.
const string SYSTEM
System-level access
const string READ
Ability to read, list and use the object.
A set of results returned by Kinetica.hasPermission.
HasPermissionRequest()
Constructs a HasPermissionRequest object with default parameters.
string permission
Permission to check for.
const string INSERT
Insert access to tables.
const string TRUE
User has the effective queried permission.
const string NO_ERROR_IF_NOT_EXISTS
If FALSE will return an error if the provided _object does not exist or is blank.
const string CATALOG
External Catalog
const string MONITOR
Monitor logs and statistics.
const string FALSE
User does not have the queried permission.
IDictionary< string, string > filters
Map of column/filters that have been granted.
const string CREDENTIAL
Credential
string principal
Value of principal.