OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HeavySqlColumn.java
Go to the documentation of this file.
1 package com.mapd.parser.extension.ddl.heavysql;
2 
3 import static java.util.Objects.requireNonNull;
4 
5 import com.google.gson.annotations.Expose;
7 import com.mapd.parser.extension.ddl.heavysql.*;
8 
9 import org.apache.calcite.sql.SqlDataTypeSpec;
10 import org.apache.calcite.sql.SqlIdentifier;
11 
12 public class HeavySqlColumn extends HeavySqlJson {
13  @Expose
14  private String name;
15  @Expose
17  @Expose
19 
20  public HeavySqlColumn(final SqlIdentifier name,
21  final HeavySqlDataType type,
22  final HeavySqlEncoding encoding,
24  requireNonNull(name);
25  this.name = name.toString();
26  this.dataType = type;
27  this.options = options;
28  }
29 } // HeavySqlColumn.
HeavySqlColumn(final SqlIdentifier name, final HeavySqlDataType type, final HeavySqlEncoding encoding, final HeavySqlOptionsMap options)