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

Public Member Functions

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

Private Attributes

String command
 
String name
 
String newName
 

Static Private Attributes

static final SqlOperator OPERATOR
 

Detailed Description

Class that encapsulates all information associated with a RENAME DATABASE DDL command.

Definition at line 18 of file SqlRenameDB.java.

Constructor & Destructor Documentation

com.mapd.parser.extension.ddl.SqlRenameDB.SqlRenameDB ( final SqlParserPos  pos,
String  name,
String  newName 
)
inline

Definition at line 29 of file SqlRenameDB.java.

References com.mapd.parser.extension.ddl.SqlRenameDB.name, com.mapd.parser.extension.ddl.SqlRenameDB.newName, and com.mapd.parser.extension.ddl.SqlRenameDB.OPERATOR.

29  {
30  super(OPERATOR, pos);
31  this.command = OPERATOR.getName();
32  this.name = name;
33  this.newName = newName;
34  }

Member Function Documentation

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

Definition at line 37 of file SqlRenameDB.java.

37  {
38  return null;
39  }
String com.mapd.parser.extension.ddl.SqlRenameDB.toString ( )
inline

Definition at line 42 of file SqlRenameDB.java.

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

42  {
43  return toJsonString();
44  }

+ Here is the call graph for this function:

Member Data Documentation

String com.mapd.parser.extension.ddl.SqlRenameDB.command
private

Definition at line 23 of file SqlRenameDB.java.

String com.mapd.parser.extension.ddl.SqlRenameDB.newName
private
final SqlOperator com.mapd.parser.extension.ddl.SqlRenameDB.OPERATOR
staticprivate
Initial value:
=
new SqlSpecialOperator("RENAME_DB", SqlKind.OTHER_DDL)

Definition at line 19 of file SqlRenameDB.java.

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


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