public class CreateJoinTableRequest extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.createJoinTable(CreateJoinTableRequest)
.
Modifier and Type | Class and Description |
---|---|
static class |
CreateJoinTableRequest.Options
Optional parameters.
|
Constructor and Description |
---|
CreateJoinTableRequest()
Constructs a CreateJoinTableRequest object with default parameters.
|
CreateJoinTableRequest(String joinTableName,
List<String> tableNames,
List<String> aliases,
String expression,
List<String> expressions,
Map<String,String> options)
Constructs a CreateJoinTableRequest object with the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Object |
get(int index)
This method supports the Avro framework and is not intended to be called directly by the user.
|
List<String> |
getAliases() |
static org.apache.avro.Schema |
getClassSchema()
This method supports the Avro framework and is not intended to be called directly by the user.
|
String |
getExpression() |
List<String> |
getExpressions() |
String |
getJoinTableName() |
Map<String,String> |
getOptions() |
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called directly by the user.
|
List<String> |
getTableNames() |
int |
hashCode() |
void |
put(int index,
Object value)
This method supports the Avro framework and is not intended to be called directly by the user.
|
CreateJoinTableRequest |
setAliases(List<String> aliases) |
CreateJoinTableRequest |
setExpression(String expression) |
CreateJoinTableRequest |
setExpressions(List<String> expressions) |
CreateJoinTableRequest |
setJoinTableName(String joinTableName) |
CreateJoinTableRequest |
setOptions(Map<String,String> options) |
CreateJoinTableRequest |
setTableNames(List<String> tableNames) |
String |
toString() |
public CreateJoinTableRequest()
public CreateJoinTableRequest(String joinTableName, List<String> tableNames, List<String> aliases, String expression, List<String> expressions, Map<String,String> options)
joinTableName
- Name of the join table to be created. Must not be the name of a currently existing GPUdb table or join
table. Cannot be an empty string.tableNames
- The list of table names making up the joined set. Corresponds to a SQL statement FROM clausealiases
- The list of aliases for each of the corresponding tables.expression
- An optional expression GPUdb uses to combine and filter the joined set. Corresponds to a SQL statement
WHERE clause. For details see: expressions.expressions
- An optional list of expressions GPUdb uses to combine and filter the joined set. Corresponds to a SQL
statement WHERE clause. For details see: expressions.options
- Optional parameters.
public static org.apache.avro.Schema getClassSchema()
public String getJoinTableName()
public CreateJoinTableRequest setJoinTableName(String joinTableName)
joinTableName
- Name of the join table to be created. Must not be the name of a currently existing GPUdb table or join
table. Cannot be an empty string.this
to mimic the builder pattern.public List<String> getTableNames()
public CreateJoinTableRequest setTableNames(List<String> tableNames)
tableNames
- The list of table names making up the joined set. Corresponds to a SQL statement FROM clausethis
to mimic the builder pattern.public List<String> getAliases()
public CreateJoinTableRequest setAliases(List<String> aliases)
aliases
- The list of aliases for each of the corresponding tables.this
to mimic the builder pattern.public String getExpression()
public CreateJoinTableRequest setExpression(String expression)
expression
- An optional expression GPUdb uses to combine and filter the joined set. Corresponds to a SQL statement
WHERE clause. For details see: expressions.this
to mimic the builder pattern.public List<String> getExpressions()
public CreateJoinTableRequest setExpressions(List<String> expressions)
expressions
- An optional list of expressions GPUdb uses to combine and filter the joined set. Corresponds to a SQL
statement WHERE clause. For details see: expressions.this
to mimic the builder pattern.public Map<String,String> getOptions()
public CreateJoinTableRequest setOptions(Map<String,String> options)
options
- Optional parameters.
this
to mimic the builder pattern.public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
public Object get(int index)
get
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to getIndexOutOfBoundsException
public void put(int index, Object value)
put
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to setvalue
- the value to setIndexOutOfBoundsException
Copyright © 2016. All rights reserved.