Kinetica   C#   API  Version 7.2.3.1
CheckTableRequest Class Reference

A set of parameters for Kinetica.checkTable. More...

+ Inheritance diagram for CheckTableRequest:
+ Collaboration diagram for CheckTableRequest:

Classes

struct  Options
 A set of string constants for the parameter options. More...
 

Public Member Functions

 CheckTableRequest ()
 Constructs a CheckTableRequest object with default parameters. More...
 
 CheckTableRequest (IList< string > table_names, IDictionary< string, string > options=null)
 Constructs a CheckTableRequest object with the specified parameters. More...
 
- Public Member Functions inherited from KineticaData
 KineticaData (KineticaType type)
 Constructor from Kinetica Type More...
 
 KineticaData (System.Type type=null)
 Default constructor, with optional System.Type More...
 
object Get (int fieldPos)
 Retrieve a specific property from this object More...
 
void Put (int fieldPos, object fieldValue)
 Write a specific property to this object More...
 

Properties

IList< string > table_names = new List<string>() [get, set]
 List of tables to query. More...
 
IDictionary< string, string > options = new Dictionary<string, string>() [get, set]
 Optional parameters. More...
 
- Properties inherited from KineticaData
Schema Schema [get]
 Avro Schema for this class More...
 
- Properties inherited from Avro.Specific.ISpecificRecord
Schema Schema [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from KineticaData
static ? RecordSchema SchemaFromType (System.Type t, KineticaType? ktype=null)
 Create an Avro Schema from a System.Type and a KineticaType. More...
 

Detailed Description

A set of parameters for Kinetica.checkTable.

Scans the requested tables as specified in table_names for integrity. Any table chunks which fail the check will be marked as corrupt. By default the database will automatically repair corrupt tables (via truncating). Note that since this reads every table column from disk it may be a potentially long-running operation. The option LOCAL_ONLY can be used to skip any table files already written to a remote storage. Returns table corruption results.

Definition at line 22 of file CheckTable.cs.

Constructor & Destructor Documentation

◆ CheckTableRequest() [1/2]

CheckTableRequest.CheckTableRequest ( )
inline

Constructs a CheckTableRequest object with default parameters.

Definition at line 107 of file CheckTable.cs.

◆ CheckTableRequest() [2/2]

CheckTableRequest.CheckTableRequest ( IList< string >  table_names,
IDictionary< string, string >  options = null 
)
inline

Constructs a CheckTableRequest object with the specified parameters.

Parameters
table_namesList of tables to query. An asterisk returns all tables.
optionsOptional parameters. The default value is an empty Dictionary.

Definition at line 150 of file CheckTable.cs.

Property Documentation

◆ options

IDictionary<string, string> CheckTableRequest.options = new Dictionary<string, string>()
getset

Optional parameters.

The default value is an empty Dictionary.

Definition at line 103 of file CheckTable.cs.

◆ table_names

IList<string> CheckTableRequest.table_names = new List<string>()
getset

List of tables to query.

An asterisk returns all tables.

Definition at line 65 of file CheckTable.cs.


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