OmniSciDB  6686921089
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SqlShowDiskCacheUsage.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;
6 import org.apache.calcite.sql.SqlOperator;
7 import org.apache.calcite.sql.SqlSpecialOperator;
8 import org.apache.calcite.sql.parser.SqlParserPos;
9 
10 import java.util.List;
11 
16 public class SqlShowDiskCacheUsage extends SqlCustomDdl {
17  private static final SqlOperator OPERATOR =
18  new SqlSpecialOperator("SHOW_DISK_CACHE_USAGE", SqlKind.OTHER_DDL);
19 
20  @Expose
21  private List<String> tableNames = null;
22 
23  public SqlShowDiskCacheUsage(final SqlParserPos pos) {
24  super(OPERATOR, pos);
25  }
26 
27  public SqlShowDiskCacheUsage(final SqlParserPos pos, final List<String> tableNames) {
28  super(OPERATOR, pos);
29  this.tableNames = tableNames;
30  }
31 }
SqlShowDiskCacheUsage(final SqlParserPos pos, final List< String > tableNames)