OmniSciDB  0264ff685a
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.SqlDdl;
6 import org.apache.calcite.sql.SqlKind;
7 import org.apache.calcite.sql.SqlOperator;
8 import org.apache.calcite.sql.SqlSpecialOperator;
9 import org.apache.calcite.sql.parser.SqlParserPos;
10 
11 import java.util.List;
12 
17 public class SqlShowDiskCacheUsage extends SqlShowCommand {
18  private static final SqlOperator OPERATOR =
19  new SqlSpecialOperator("SHOW_DISK_CACHE_USAGE", SqlKind.OTHER_DDL);
20 
21  @Expose
22  private List<String> tableNames = null;
23 
24  public SqlShowDiskCacheUsage(final SqlParserPos pos) {
25  super(OPERATOR, pos);
26  }
27 
28  public SqlShowDiskCacheUsage(final SqlParserPos pos, final List<String> tableNames) {
29  super(OPERATOR, pos);
30  this.tableNames = tableNames;
31  }
32 }
SqlShowDiskCacheUsage(final SqlParserPos pos, final List< String > tableNames)