OmniSciDB  c1a53651b2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SqlReassignOwned.java
Go to the documentation of this file.
1 package com.mapd.parser.extension.ddl;
2 
3 import com.google.gson.annotations.Expose;
4 
5 import org.apache.calcite.sql.SqlKind;
7 import org.apache.calcite.sql.SqlSpecialOperator;
8 import org.apache.calcite.sql.parser.SqlParserPos;
9 
10 import java.util.List;
11 
12 public class SqlReassignOwned extends SqlCustomDdl {
13  private static final SqlOperator OPERATOR =
14  new SqlSpecialOperator("REASSIGN_OWNED", SqlKind.OTHER_DDL);
15 
16  @Expose
17  private List<String> oldOwners;
18 
19  @Expose
20  private String newOwner;
21 
23  final SqlParserPos pos, final List<String> oldOwners, final String newOwner) {
24  super(OPERATOR, pos);
25  this.oldOwners = oldOwners;
26  this.newOwner = newOwner;
27  }
28 }
SqlReassignOwned(final SqlParserPos pos, final List< String > oldOwners, final String newOwner)