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

Public Member Functions

 SqlTruncateTable (final SqlParserPos pos, final String tableName)
List< SqlNode > getOperandList ()
String toString ()
- Public Member Functions inherited from com.mapd.parser.extension.ddl.JsonSerializableDdl
default String toJsonString ()

Private Attributes

String tableName
String command

Static Private Attributes

static final SqlOperator OPERATOR

Detailed Description

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

Definition at line 17 of file

Constructor & Destructor Documentation

com.mapd.parser.extension.ddl.SqlTruncateTable.SqlTruncateTable ( final SqlParserPos  pos,
final String  tableName 

Definition at line 26 of file

References com.mapd.parser.extension.ddl.SqlTruncateTable.OPERATOR, and com.mapd.parser.extension.ddl.SqlTruncateTable.tableName.

26  {
27  super(OPERATOR, pos);
28  this.tableName = tableName;
29  this.command = OPERATOR.getName();
30  }

Member Function Documentation

List<SqlNode> com.mapd.parser.extension.ddl.SqlTruncateTable.getOperandList ( )

Definition at line 33 of file

33  {
34  return null;
35  }
String com.mapd.parser.extension.ddl.SqlTruncateTable.toString ( )

Definition at line 38 of file

References com.mapd.parser.extension.ddl.JsonSerializableDdl.toJsonString().

38  {
39  return toJsonString();
40  }

+ Here is the call graph for this function:

Member Data Documentation

String com.mapd.parser.extension.ddl.SqlTruncateTable.command

Definition at line 24 of file

final SqlOperator com.mapd.parser.extension.ddl.SqlTruncateTable.OPERATOR
Initial value:
new SqlSpecialOperator("TRUNCATE_TABLE", SqlKind.OTHER_DDL)

Definition at line 18 of file

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

String com.mapd.parser.extension.ddl.SqlTruncateTable.tableName

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