|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.uql.asset.TableAssemblyOperator
public class TableAssemblyOperator
Table assembly operator, the operator between two table assemblies.
| Nested Class Summary | |
|---|---|
static class |
TableAssemblyOperator.Operator
Operator represents one sub operator between two tables. |
| Field Summary | |
|---|---|
static int |
CONCATENATION
Concatenation operation. |
static int |
CROSS_JOIN
Cross join operation. |
static int |
FULL_JOIN
Full join operation. |
static int |
GREATER_EQUAL_JOIN
Greater equal join operation. |
static int |
GREATER_JOIN
Greater join operation. |
static int |
INNER_JOIN
Inner join operation. |
static int |
INTERSECT
Intersect operation. |
static int |
JOIN
Join operation. |
static int |
LEFT_JOIN
Left join operation. |
static int |
LESS_EQUAL_JOIN
Less equal join operation. |
static int |
LESS_JOIN
Less join operation. |
static int |
MERGE_JOIN
Merge join operation. |
static int |
MINUS
Minus operation. |
static int |
NOT_EQUAL_JOIN
Not equal join operation. |
static int |
RIGHT_JOIN
Right join operation. |
static int |
UNION
Union operation. |
| Constructor Summary | |
|---|---|
TableAssemblyOperator()
Constructor. |
|
TableAssemblyOperator(DataRef l,
DataRef r,
int o)
Create an operator with a single predicate between the two attributes. |
|
| Method Summary | |
|---|---|
void |
addOperator(TableAssemblyOperator.Operator operator)
Add one operator. |
void |
checkValidity()
Check if the operator is valid. |
void |
clear()
Clear the table assembly operator. |
Object |
clone()
Clone the object. |
boolean |
equals(Object obj)
Check if equals another object. |
int |
getKeyOperation()
Get the key operation. |
TableAssemblyOperator.Operator |
getKeyOperator()
Get the key Operator. |
TableAssemblyOperator.Operator |
getOperator(int index)
Get the operator at an index. |
int |
getOperatorCount()
Get the operator count. |
TableAssemblyOperator.Operator[] |
getOperators()
Get all the operators. |
String |
getOperatorString()
Get operators display string. |
int |
hashCode()
Get the hash code value. |
boolean |
isConcatenation()
Check if is concatenation. |
boolean |
isCrossJoin()
Check if is cross join. |
boolean |
isDistinct()
Check if is distinct. |
boolean |
isFullJoin()
Check if is full join. |
boolean |
isJoin()
Check if is join. |
boolean |
isMergeJoin()
Check if is merge join. |
boolean |
isOuterJoin()
Check if is outer join. |
void |
parseXML(Element elem)
Method to parse an xml segment. |
boolean |
printKey(PrintWriter writer)
Print the key to identify this content object. |
void |
removeOperator(int index)
Remove the operator at an index. |
void |
renameDepended(String oname,
String nname,
Assembly lassembly,
Assembly rassembly)
Rename the assemblies depended on. |
boolean |
requiresColumn()
Check if requires column. |
void |
setOperator(int index,
TableAssemblyOperator.Operator operator)
Set the operator at an index. |
String |
toString()
|
void |
validateAttribute(ColumnSelection lselection,
ColumnSelection rselection)
Validate attribute. |
void |
writeXML(PrintWriter writer)
Write the xml segment to print writer. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int JOIN
public static final int INNER_JOIN
public static final int LEFT_JOIN
public static final int RIGHT_JOIN
public static final int FULL_JOIN
public static final int NOT_EQUAL_JOIN
public static final int GREATER_JOIN
public static final int GREATER_EQUAL_JOIN
public static final int LESS_JOIN
public static final int LESS_EQUAL_JOIN
public static final int MERGE_JOIN
public static final int CROSS_JOIN
public static final int CONCATENATION
public static final int UNION
public static final int INTERSECT
public static final int MINUS
| Constructor Detail |
|---|
public TableAssemblyOperator()
public TableAssemblyOperator(DataRef l,
DataRef r,
int o)
| Method Detail |
|---|
public TableAssemblyOperator.Operator[] getOperators()
public TableAssemblyOperator.Operator getOperator(int index)
index - the specified index.
public int getOperatorCount()
public void addOperator(TableAssemblyOperator.Operator operator)
operator - the specified operator.
public void setOperator(int index,
TableAssemblyOperator.Operator operator)
index - the specified index.operator - the specified operator.public void removeOperator(int index)
index - the specified index.public void clear()
public void renameDepended(String oname,
String nname,
Assembly lassembly,
Assembly rassembly)
oname - the specified old name.nname - the specified new name.lassembly - the left assembly.rassembly - the right assembly.
public void checkValidity()
throws Exception
Exception
public void validateAttribute(ColumnSelection lselection,
ColumnSelection rselection)
throws Exception
lselection - the specified left table column selection.rselection - the specified right table column selection.
Exceptionpublic TableAssemblyOperator.Operator getKeyOperator()
public boolean isDistinct()
public int getKeyOperation()
public boolean isJoin()
public boolean isOuterJoin()
public boolean isConcatenation()
public boolean isMergeJoin()
public boolean isCrossJoin()
public boolean isFullJoin()
public boolean requiresColumn()
public String getOperatorString()
public void writeXML(PrintWriter writer)
writeXML in interface inetsoft.util.XMLSerializablewriter - the destination print writer.
public void parseXML(Element elem)
throws Exception
parseXML in interface inetsoft.util.XMLSerializableelem - the specified xml element.
Exceptionpublic Object clone()
clone in interface AssetObjectclone in class Objectpublic int hashCode()
hashCode in class Object
public boolean printKey(PrintWriter writer)
throws Exception
Exceptionpublic boolean equals(Object obj)
equals in class Objectobj - the specified object.
public String toString()
toString in class Object
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||