OmniSciDB  6686921089
 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 SqlTruncateTable.java.

Constructor & Destructor Documentation

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

Definition at line 26 of file SqlTruncateTable.java.

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 ( )
inline

Definition at line 33 of file SqlTruncateTable.java.

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

Definition at line 38 of file SqlTruncateTable.java.

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
private

Definition at line 24 of file SqlTruncateTable.java.

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

Definition at line 18 of file SqlTruncateTable.java.

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

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

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