Skip to main content

◆ dropSession() [1/2]

DropSessionResponse kinetica.Kinetica.dropSession (DropSessionRequestrequest_)
inline

Ends the client session named by the X-Kinetica-Session HTTP header of this request, dropping every session temp table (a table created in SQL as #name) that belongs to it.

Objects outside the session that depend on those tables are invalidated, not dropped.

A client sends its session ID in the X-Kinetica-Session HTTP header to every endpoint (e.g., /execute/sql), and needs to call this endpoint only when a response’s info map has carried session_id_used set to true.

Only the user that owns the session, or a system administrator, may drop it. Dropping an unknown session is a no-op.

Parameters
request_Request object containing the parameters for the operation.
Returns
Response object containing the result of the operation.

Definition at line 33931 of file KineticaFunctions.cs.

◆ dropSession() [2/2]

DropSessionResponse kinetica.Kinetica.dropSession (IDictionary< string, string >options = null)
inline

Ends the client session named by the X-Kinetica-Session HTTP header of this request, dropping every session temp table (a table created in SQL as #name) that belongs to it.

Objects outside the session that depend on those tables are invalidated, not dropped.

A client sends its session ID in the X-Kinetica-Session HTTP header to every endpoint (e.g., /execute/sql), and needs to call this endpoint only when a response’s info map has carried session_id_used set to true.

Only the user that owns the session, or a system administrator, may drop it. Dropping an unknown session is a no-op.

Parameters
optionsOptional parameters. The default value is an empty Dictionary.
Returns
Response object containing the result of the operation.

Definition at line 33980 of file KineticaFunctions.cs.

◆ DropSessionAsync() [1/2]

async System.Threading.Tasks.Task< DropSessionResponse > kinetica.Kinetica.DropSessionAsync (DropSessionRequestrequest_,
System.Threading.CancellationTokencancellationToken = default )
inline

Ends the client session named by the X-Kinetica-Session HTTP header of this request, dropping every session temp table (a table created in SQL as #name) that belongs to it.

(async)

Objects outside the session that depend on those tables are invalidated, not dropped.

A client sends its session ID in the X-Kinetica-Session HTTP header to every endpoint (e.g., /execute/sql), and needs to call this endpoint only when a response’s info map has carried session_id_used set to true.

Only the user that owns the session, or a system administrator, may drop it. Dropping an unknown session is a no-op.

Parameters
request_Request object containing the parameters for the operation.
cancellationTokenCancellation token to cancel the operation.
Returns
Task that returns the response object containing the result of the operation.

Definition at line 33956 of file KineticaFunctions.cs.

◆ DropSessionAsync() [2/2]

async System.Threading.Tasks.Task< DropSessionResponse > kinetica.Kinetica.DropSessionAsync (IDictionary< string, string >options = null,
System.Threading.CancellationTokencancellationToken = default )
inline

Ends the client session named by the X-Kinetica-Session HTTP header of this request, dropping every session temp table (a table created in SQL as #name) that belongs to it.

(async)

Objects outside the session that depend on those tables are invalidated, not dropped.

A client sends its session ID in the X-Kinetica-Session HTTP header to every endpoint (e.g., /execute/sql), and needs to call this endpoint only when a response’s info map has carried session_id_used set to true.

Only the user that owns the session, or a system administrator, may drop it. Dropping an unknown session is a no-op.

Parameters
optionsOptional parameters. The default value is an empty Dictionary.
cancellationTokenCancellation token to cancel the operation.
Returns
Task that returns the response object containing the result of the operation.

Definition at line 34003 of file KineticaFunctions.cs.