|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Join
The output of a Join is limited to one JoinTable. A Join may have at most two inputs. A Join may not exist without a Select.
For nested joins a Join should be documented for each pair of joined tables. For example: Table1 is joined to Table2 that results in JoinTable1. JoinTable1 is then joined with Table3 to create JoinTable2. JoinTable2 now acts as in input into a Select that documents the rows and columns that are to be included in the final output table.Attributes of Join are:
Associations of Join are:
factory
create methods. // create a store to contain your objects for this change. If you do not have an existing object // or store to use. You may obtain the store from another object by using Object.getObjectStore(). MdFactory factory; //where "factory" is a valid MdFactory instance MdObjectStore objectStore = factory.createObjectStore(); Join myObject = (Join) factory.createComplexMetadataObject(objectStore, "Join_Object", MetadataObjects.JOIN, "AAAAAAAA"); myObject.updateMetadataAll(); // Write object to server objectStore.dispose(); // dispose of the object store if it is no longer needed
MdOMIUtil
.
updateMetadataAll
method.
delete
method can be used.
This will flag the object as being deleted on the client, and will require an update call to persist
the change to the server.
Field Summary | |
---|---|
static java.lang.String |
ASSOCIATION_ONFORJOIN_NAME
Constant used for the name of the OnForJoin association. |
static java.lang.String |
ASSOCIATION_OWNINGJOINTABLE_NAME
Constant used for the name of the OwningJoinTable association. |
static java.lang.String |
ATTRIBUTE_JOINTYPE_NAME
Constant used for the name of the JoinType attribute. |
Fields inherited from interface com.sas.metadata.remote.ClassifierMap |
---|
ASSOCIATION_ASSOCIATEDROWSELECTOR_NAME, ASSOCIATION_CLASSIFIERSOURCES_NAME, ASSOCIATION_CLASSIFIERTARGETS_NAME, ASSOCIATION_FEATUREMAPS_NAME |
Fields inherited from interface com.sas.metadata.remote.Transformation |
---|
ASSOCIATION_ASSOCIATEDPROMPT_NAME, ASSOCIATION_STEPS_NAME |
Fields inherited from interface com.sas.metadata.remote.PrimaryType |
---|
ASSOCIATION_FAVORITESCONTAINERS_NAME, ATTRIBUTE_ISHIDDEN_NAME, ATTRIBUTE_PUBLICTYPE_NAME |
Fields inherited from interface com.sas.metadata.remote.MdObjectBase |
---|
ATTRIBUTE_DESC_NAME, ATTRIBUTE_ID_NAME, ATTRIBUTE_METADATACREATED_NAME, ATTRIBUTE_METADATAUPDATED_NAME, ATTRIBUTE_NAME_NAME |
Method Summary | |
---|---|
java.lang.String |
getJoinType()
Gets the String value of JoinType |
int |
getJoinTypeMaxLength()
Gets the maximum length of JoinType |
int |
getJoinTypeState()
Gets the Metadata State of JoinType |
OnClause |
getOnForJoin()
Gets the OnClause for OnForJoin |
AssociationList |
getOnForJoins()
Gets the AssociationList of OnForJoins |
AssociationList |
getOnForJoins(boolean fGoToServer)
Gets the Associationlist of OnForJoins |
JoinTable |
getOwningJoinTable()
Gets the JoinTable for OwningJoinTable |
AssociationList |
getOwningJoinTables()
Gets the AssociationList of OwningJoinTables |
AssociationList |
getOwningJoinTables(boolean fGoToServer)
Gets the Associationlist of OwningJoinTables |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: OnForJoin OwningJoinTable |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: OwningJoinTable |
void |
setJoinType(java.lang.String inJoinType)
Sets the JoinType value and sets the state to MetadataState.LOCAL. |
void |
setJoinType(java.lang.String inJoinType,
int state)
Sets the JoinType Metadata State. |
void |
setJoinTypeState(int state)
Sets the Metadata State of JoinType . |
void |
setOnForJoin(OnClause inObject)
Sets the OnForJoins list 0th element to be inObject . |
void |
setOnForJoins(AssociationList list)
Sets the OnForJoins list to be list . |
void |
setOnForJoins(AssociationList list,
int state)
Sets the OnForJoins list to be list . |
void |
setOwningJoinTable(JoinTable inObject)
Sets the OwningJoinTables list 0th element to be inObject . |
void |
setOwningJoinTables(AssociationList list)
Sets the OwningJoinTables list to be list . |
void |
setOwningJoinTables(AssociationList list,
int state)
Sets the OwningJoinTables list to be list . |
Methods inherited from interface com.sas.metadata.remote.Transformation |
---|
getAssociatedPrompt, getAssociatedPrompts, getAssociatedPrompts, getSteps, getSteps, setAssociatedPrompt, setAssociatedPrompts, setAssociatedPrompts, setSteps, setSteps |
Methods inherited from interface com.sas.metadata.remote.PrimaryType |
---|
getFavoritesContainers, getFavoritesContainers, getIsHidden, getIsHiddenState, getPublicType, getPublicTypeMaxLength, getPublicTypeState, setFavoritesContainers, setFavoritesContainers, setIsHidden, setIsHidden, setIsHidden, setIsHidden, setIsHiddenState, setPublicType, setPublicType, setPublicTypeState |
Methods inherited from interface com.sas.metadata.remote.MdObjectBaseXML |
---|
closeUpdateMetadataXML, createEmptyXML, createObjectRefreshXML, createObjectXML, createObjectXML, createUpdateAssociationXML, createUpdateAssociationXML, createUpdateSimpleXML, doCreateUpdateXML, getUpdateSimpleSubstring, updateMetadataAll |
Field Detail |
---|
static final java.lang.String ATTRIBUTE_JOINTYPE_NAME
JoinType: The type of the join (inner, full outer, left outer, right outer).
static final java.lang.String ASSOCIATION_ONFORJOIN_NAME
OnForJoin: The on statement of this join object.
static final java.lang.String ASSOCIATION_OWNINGJOINTABLE_NAME
OwningJoinTable: The result of this join statement.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
OwningJoinTable
initializeRequiredObjects
in interface AbstractTransformation
initializeRequiredObjects
in interface ClassifierMap
initializeRequiredObjects
in interface MdObjectBaseUtil
initializeRequiredObjects
in interface PrimaryType
initializeRequiredObjects
in interface Root
initializeRequiredObjects
in interface Transformation
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void initializePredObjects() throws java.rmi.RemoteException
OnForJoin
OwningJoinTable
initializePredObjects
in interface AbstractTransformation
initializePredObjects
in interface ClassifierMap
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
initializePredObjects
in interface Transformation
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getJoinType() throws java.rmi.RemoteException
String
value of JoinType
JoinType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getJoinTypeState() throws java.rmi.RemoteException
JoinType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getJoinTypeMaxLength() throws java.rmi.RemoteException
JoinType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getOnForJoins() throws java.rmi.RemoteException, MdException
OnForJoins
OnForJoins
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
OnClause getOnForJoin() throws java.rmi.RemoteException, MdException
OnClause
for OnForJoin
OnClause
( null
if not set) of OnForJoin
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
- If error getting/setting part of the object.AssociationList getOwningJoinTables() throws java.rmi.RemoteException, MdException
OwningJoinTables
OwningJoinTables
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
JoinTable getOwningJoinTable() throws java.rmi.RemoteException, MdException
JoinTable
for OwningJoinTable
JoinTable
( null
if not set) of OwningJoinTable
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
- If error getting/setting part of the object.AssociationList getOnForJoins(boolean fGoToServer) throws java.rmi.RemoteException, MdException
OnForJoins
fGoToServer
- boolean Get the value from the server.
OnForJoins
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
- If error getting/setting part of the object.AssociationList getOwningJoinTables(boolean fGoToServer) throws java.rmi.RemoteException, MdException
OwningJoinTables
fGoToServer
- boolean Get the value from the server.
OwningJoinTables
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
- If error getting/setting part of the object.void setJoinType(java.lang.String inJoinType) throws java.rmi.RemoteException
JoinType
value and sets the state to MetadataState.LOCAL.
inJoinType
- String
java.rmi.RemoteException
- If error communicating with remote object.void setJoinType(java.lang.String inJoinType, int state) throws java.rmi.RemoteException
JoinType
Metadata State.
inJoinType
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setJoinTypeState(int state) throws java.rmi.RemoteException
JoinType
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setOnForJoins(AssociationList list) throws java.rmi.RemoteException
OnForJoins
list to be list
. Object of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setOnForJoins(AssociationList list, int state) throws java.rmi.RemoteException
OnForJoins
list to be list
. Object of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setOnForJoin(OnClause inObject) throws java.rmi.RemoteException
OnForJoins
list 0th element to be inObject
.
inObject
- OnClause
java.rmi.RemoteException
- If error communicating with remote object.void setOwningJoinTables(AssociationList list) throws java.rmi.RemoteException
OwningJoinTables
list to be list
. Object of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setOwningJoinTables(AssociationList list, int state) throws java.rmi.RemoteException
OwningJoinTables
list to be list
. Object of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setOwningJoinTable(JoinTable inObject) throws java.rmi.RemoteException
OwningJoinTables
list 0th element to be inObject
.
inObject
- JoinTable
java.rmi.RemoteException
- If error communicating with remote object.
|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |