public FunctionDesc(String name, TapDataType datatype) { TapSchema.assertNotNull(FunctionDesc.class, "name", name); TapSchema.assertNotNull(FunctionDesc.class, "datatype", datatype); this.name = name; this.datatype = datatype; }
public ColumnDesc(String tableName, String columnName, TapDataType datatype) { TapSchema.assertNotNull(TableDesc.class, "tableName", tableName); TapSchema.assertNotNull(TableDesc.class, "columnName", columnName); TapSchema.assertNotNull(TableDesc.class, "datatype", datatype); this.tableName = tableName; this.columnName = columnName; this.datatype = datatype; }
public SchemaDesc(String schemaName) { TapSchema.assertNotNull(SchemaDesc.class, "schemaName", schemaName); this.schemaName = schemaName; }
public TableDesc(String schemaName, String tableName) { TapSchema.assertNotNull(TableDesc.class, "schemaName", schemaName); TapSchema.assertNotNull(TableDesc.class, "tableName", tableName); this.schemaName = schemaName; this.tableName = tableName; }
public TapDataType(String datatype) { TapSchema.assertNotNull(TapDataType.class, "datatype", datatype); this.datatype = datatype; }
/** * A new column created by some sort of expression. This could be a function call, algebraic * expression, case statement, etc. The calling code must set any additional column * metadata. * * @param name * @param datatype */ public TapSelectItem(String name, TapDataType datatype) { TapSchema.assertNotNull(TapSelectItem.class, "name", name); TapSchema.assertNotNull(TapSelectItem.class, "datatype", datatype); this.name = name; this.datatype = datatype; }