@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LogicalTable extends Object implements Serializable, Cloneable, StructuredPojo
A logical table is a unit that joins and that data transformations operate on. A logical table has a source, which can be either a physical table or result of a join. When a logical table points to a physical table, the logical table acts as a mutable copy of that physical table through transform operations.
Constructor and Description |
---|
LogicalTable() |
Modifier and Type | Method and Description |
---|---|
LogicalTable |
clone() |
boolean |
equals(Object obj) |
String |
getAlias()
A display name for the logical table.
|
List<TransformOperation> |
getDataTransforms()
Transform operations that act on this logical table.
|
LogicalTableSource |
getSource()
Source of this logical table.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlias(String alias)
A display name for the logical table.
|
void |
setDataTransforms(Collection<TransformOperation> dataTransforms)
Transform operations that act on this logical table.
|
void |
setSource(LogicalTableSource source)
Source of this logical table.
|
String |
toString()
Returns a string representation of this object.
|
LogicalTable |
withAlias(String alias)
A display name for the logical table.
|
LogicalTable |
withDataTransforms(Collection<TransformOperation> dataTransforms)
Transform operations that act on this logical table.
|
LogicalTable |
withDataTransforms(TransformOperation... dataTransforms)
Transform operations that act on this logical table.
|
LogicalTable |
withSource(LogicalTableSource source)
Source of this logical table.
|
public void setAlias(String alias)
A display name for the logical table.
alias
- A display name for the logical table.public String getAlias()
A display name for the logical table.
public LogicalTable withAlias(String alias)
A display name for the logical table.
alias
- A display name for the logical table.public List<TransformOperation> getDataTransforms()
Transform operations that act on this logical table. For this structure to be valid, only one of the attributes can be non-null.
public void setDataTransforms(Collection<TransformOperation> dataTransforms)
Transform operations that act on this logical table. For this structure to be valid, only one of the attributes can be non-null.
dataTransforms
- Transform operations that act on this logical table. For this structure to be valid, only one of the
attributes can be non-null.public LogicalTable withDataTransforms(TransformOperation... dataTransforms)
Transform operations that act on this logical table. For this structure to be valid, only one of the attributes can be non-null.
NOTE: This method appends the values to the existing list (if any). Use
setDataTransforms(java.util.Collection)
or withDataTransforms(java.util.Collection)
if you want
to override the existing values.
dataTransforms
- Transform operations that act on this logical table. For this structure to be valid, only one of the
attributes can be non-null.public LogicalTable withDataTransforms(Collection<TransformOperation> dataTransforms)
Transform operations that act on this logical table. For this structure to be valid, only one of the attributes can be non-null.
dataTransforms
- Transform operations that act on this logical table. For this structure to be valid, only one of the
attributes can be non-null.public void setSource(LogicalTableSource source)
Source of this logical table.
source
- Source of this logical table.public LogicalTableSource getSource()
Source of this logical table.
public LogicalTable withSource(LogicalTableSource source)
Source of this logical table.
source
- Source of this logical table.public String toString()
toString
in class Object
Object.toString()
public LogicalTable clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.