OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.parser.extension.ddl.SqlRestoreTable Class Reference
+ Inheritance diagram for com.mapd.parser.extension.ddl.SqlRestoreTable:
+ Collaboration diagram for com.mapd.parser.extension.ddl.SqlRestoreTable:

Public Member Functions

 SqlRestoreTable (final SqlParserPos pos, final String tableName, final String filePath, HeavyDBOptionsMap withOptions)
 
- Public Member Functions inherited from com.mapd.parser.extension.ddl.SqlCustomDdl
 SqlCustomDdl (final SqlOperator operator, final SqlParserPos pos)
 
List< SqlNode > getOperandList ()
 
String toString ()
 
- Public Member Functions inherited from com.mapd.parser.extension.ddl.JsonSerializableDdl
default String toJsonString ()
 

Private Attributes

String tableName
 
String filePath
 
HeavyDBOptionsMap options
 

Static Private Attributes

static final SqlOperator OPERATOR
 

Detailed Description

Class that encapsulates all information associated with a RESTORE TABLE DDL command.

Definition at line 15 of file SqlRestoreTable.java.

Constructor & Destructor Documentation

com.mapd.parser.extension.ddl.SqlRestoreTable.SqlRestoreTable ( final SqlParserPos  pos,
final String  tableName,
final String  filePath,
HeavyDBOptionsMap  withOptions 
)
inline

Definition at line 26 of file SqlRestoreTable.java.

References com.mapd.parser.extension.ddl.SqlRestoreTable.OPERATOR, com.mapd.parser.extension.ddl.SqlRestoreTable.tableName, and com.mapd.parser.extension.ddl.SqlCustomDdl.toString().

29  {
30  super(OPERATOR, pos);
31  this.tableName = tableName;
32  this.filePath = (new HeavySqlSanitizedString(filePath)).toString();
33  this.options = withOptions;
34  }

+ Here is the call graph for this function:

Member Data Documentation

String com.mapd.parser.extension.ddl.SqlRestoreTable.filePath
private

Definition at line 22 of file SqlRestoreTable.java.

final SqlOperator com.mapd.parser.extension.ddl.SqlRestoreTable.OPERATOR
staticprivate
Initial value:
=
new SqlSpecialOperator("RESTORE_TABLE", SqlKind.OTHER_DDL)

Definition at line 16 of file SqlRestoreTable.java.

Referenced by com.mapd.parser.extension.ddl.SqlRestoreTable.SqlRestoreTable().

HeavyDBOptionsMap com.mapd.parser.extension.ddl.SqlRestoreTable.options
private

Definition at line 24 of file SqlRestoreTable.java.

String com.mapd.parser.extension.ddl.SqlRestoreTable.tableName
private

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