|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface Select
Used to document an SQL select statement.
Attributes of Select are:
Associations of Select 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(); Select myObject = (Select) factory.createComplexMetadataObject(objectStore, "Select_Object", MetadataObjects.SELECT, "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_GROUPBYFORSELECT_NAME
Constant used for the name of the GroupByForSelect association. |
static java.lang.String |
ASSOCIATION_HAVINGFORSELECT_NAME
Constant used for the name of the HavingForSelect association. |
static java.lang.String |
ASSOCIATION_ORDERBYFORSELECT_NAME
Constant used for the name of the OrderByForSelect association. |
static java.lang.String |
ASSOCIATION_WHEREFORSELECT_NAME
Constant used for the name of the WhereForSelect association. |
static java.lang.String |
ATTRIBUTE_ISPARSEALLOWED_NAME
Constant used for the name of the IsParseAllowed attribute. |
static java.lang.String |
ATTRIBUTE_ISSUBSTITUTIONALLOWED_NAME
Constant used for the name of the IsSubstitutionAllowed 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 | |
|---|---|
GroupByClause |
getGroupByForSelect()
Gets the GroupByClause for GroupByForSelect |
AssociationList |
getGroupByForSelects()
Gets the Association list of GroupByForSelects |
AssociationList |
getGroupByForSelects(boolean fGoToServer)
Gets the Associationlist of GroupByForSelects |
HavingClause |
getHavingForSelect()
Gets the HavingClause for HavingForSelect |
AssociationList |
getHavingForSelects()
Gets the Association list of HavingForSelects |
AssociationList |
getHavingForSelects(boolean fGoToServer)
Gets the Associationlist of HavingForSelects |
int |
getIsParseAllowed()
Gets the int value of IsParseAllowed |
int |
getIsParseAllowedState()
Gets the Metadata State of IsParseAllowed |
int |
getIsSubstitutionAllowed()
Gets the int value of IsSubstitutionAllowed |
int |
getIsSubstitutionAllowedState()
Gets the Metadata State of IsSubstitutionAllowed |
OrderByClause |
getOrderByForSelect()
Gets the OrderByClause for OrderByForSelect |
AssociationList |
getOrderByForSelects()
Gets the Association list of OrderByForSelects |
AssociationList |
getOrderByForSelects(boolean fGoToServer)
Gets the Associationlist of OrderByForSelects |
WhereClause |
getWhereForSelect()
Gets the WhereClause for WhereForSelect |
AssociationList |
getWhereForSelects()
Gets the Association list of WhereForSelects |
AssociationList |
getWhereForSelects(boolean fGoToServer)
Gets the Associationlist of WhereForSelects |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setGroupByForSelect(GroupByClause inObject)
Sets the GroupByForSelects list 0th element to be inObject. |
void |
setGroupByForSelects(AssociationList list)
Sets the GroupByForSelects list to be list. |
void |
setGroupByForSelects(AssociationList list,
int state)
Sets the GroupByForSelects list to be list. |
void |
setHavingForSelect(HavingClause inObject)
Sets the HavingForSelects list 0th element to be inObject. |
void |
setHavingForSelects(AssociationList list)
Sets the HavingForSelects list to be list. |
void |
setHavingForSelects(AssociationList list,
int state)
Sets the HavingForSelects list to be list. |
void |
setIsParseAllowed(int inIsParseAllowed)
Sets the IsParseAllowed value and sets the state to MetadataState.LOCAL. |
void |
setIsParseAllowed(int inIsParseAllowed,
int state)
Sets the IsParseAllowed Metadata State. |
void |
setIsParseAllowed(java.lang.String inIsParseAllowed)
Sets the IsParseAllowed value and sets the state to MetadataState.LOCAL. |
void |
setIsParseAllowed(java.lang.String inIsParseAllowed,
int state)
Sets the IsParseAllowed value and Metadata State. |
void |
setIsParseAllowedState(int state)
Sets the Metadata State of IsParseAllowed. |
void |
setIsSubstitutionAllowed(int inIsSubstitutionAllowed)
Sets the IsSubstitutionAllowed value and sets the state to MetadataState.LOCAL. |
void |
setIsSubstitutionAllowed(int inIsSubstitutionAllowed,
int state)
Sets the IsSubstitutionAllowed Metadata State. |
void |
setIsSubstitutionAllowed(java.lang.String inIsSubstitutionAllowed)
Sets the IsSubstitutionAllowed value and sets the state to MetadataState.LOCAL. |
void |
setIsSubstitutionAllowed(java.lang.String inIsSubstitutionAllowed,
int state)
Sets the IsSubstitutionAllowed value and Metadata State. |
void |
setIsSubstitutionAllowedState(int state)
Sets the Metadata State of IsSubstitutionAllowed. |
void |
setOrderByForSelect(OrderByClause inObject)
Sets the OrderByForSelects list 0th element to be inObject. |
void |
setOrderByForSelects(AssociationList list)
Sets the OrderByForSelects list to be list. |
void |
setOrderByForSelects(AssociationList list,
int state)
Sets the OrderByForSelects list to be list. |
void |
setWhereForSelect(WhereClause inObject)
Sets the WhereForSelects list 0th element to be inObject. |
void |
setWhereForSelects(AssociationList list)
Sets the WhereForSelects list to be list. |
void |
setWhereForSelects(AssociationList list,
int state)
Sets the WhereForSelects 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_ISPARSEALLOWED_NAME
IsParseAllowed: If true then the query visuals should attempt to parse and display the query in a GUI manner. This provides a way to prevent incorrect parsing of a query.
static final java.lang.String ATTRIBUTE_ISSUBSTITUTIONALLOWED_NAME
IsSubstitutionAllowed: If true then we may need to substitute physical names on the input sources before the query can be run. If true then this also implies that all of the inputs are maintained and correct. This would likely be set to false by any process that does not understand the Query's variable mechanism.
static final java.lang.String ASSOCIATION_GROUPBYFORSELECT_NAME
GroupByForSelect: The groupby statement for the select object.
static final java.lang.String ASSOCIATION_HAVINGFORSELECT_NAME
HavingForSelect: The having statement of this select object.
static final java.lang.String ASSOCIATION_ORDERBYFORSELECT_NAME
OrderByForSelect: The orderby statement of the select object.
static final java.lang.String ASSOCIATION_WHEREFORSELECT_NAME
WhereForSelect: The where clause for this select object.
| Method Detail |
|---|
void initializeRequiredObjects()
throws java.rmi.RemoteException
initializeRequiredObjects in interface AbstractTransformationinitializeRequiredObjects in interface ClassifierMapinitializeRequiredObjects in interface MdObjectBaseUtilinitializeRequiredObjects in interface PrimaryTypeinitializeRequiredObjects in interface RootinitializeRequiredObjects in interface Transformationjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
void initializePredObjects()
throws java.rmi.RemoteException
initializePredObjects in interface AbstractTransformationinitializePredObjects in interface ClassifierMapinitializePredObjects in interface MdObjectBaseinitializePredObjects in interface PrimaryTypeinitializePredObjects in interface RootinitializePredObjects in interface Transformationjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getIsParseAllowed()
throws java.rmi.RemoteException
int value of IsParseAllowed
IsParseAllowed
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getIsParseAllowedState()
throws java.rmi.RemoteException
IsParseAllowed
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getIsSubstitutionAllowed()
throws java.rmi.RemoteException
int value of IsSubstitutionAllowed
IsSubstitutionAllowed
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getIsSubstitutionAllowedState()
throws java.rmi.RemoteException
IsSubstitutionAllowed
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
AssociationList getGroupByForSelects()
throws java.rmi.RemoteException,
MdException
GroupByForSelects
GroupByForSelects 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.
GroupByClause getGroupByForSelect()
throws java.rmi.RemoteException,
MdException
GroupByClause for GroupByForSelect
GroupByClause ( null if not set ) of GroupByForSelect 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 getHavingForSelects()
throws java.rmi.RemoteException,
MdException
HavingForSelects
HavingForSelects 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.
HavingClause getHavingForSelect()
throws java.rmi.RemoteException,
MdException
HavingClause for HavingForSelect
HavingClause ( null if not set ) of HavingForSelect 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 getOrderByForSelects()
throws java.rmi.RemoteException,
MdException
OrderByForSelects
OrderByForSelects 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.
OrderByClause getOrderByForSelect()
throws java.rmi.RemoteException,
MdException
OrderByClause for OrderByForSelect
OrderByClause ( null if not set ) of OrderByForSelect 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 getWhereForSelects()
throws java.rmi.RemoteException,
MdException
WhereForSelects
WhereForSelects 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.
WhereClause getWhereForSelect()
throws java.rmi.RemoteException,
MdException
WhereClause for WhereForSelect
WhereClause ( null if not set ) of WhereForSelect 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 getGroupByForSelects(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
GroupByForSelects
fGoToServer - boolean Get the value from the server.
GroupByForSelects 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 getHavingForSelects(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
HavingForSelects
fGoToServer - boolean Get the value from the server.
HavingForSelects 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 getOrderByForSelects(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
OrderByForSelects
fGoToServer - boolean Get the value from the server.
OrderByForSelects 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 getWhereForSelects(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
WhereForSelects
fGoToServer - boolean Get the value from the server.
WhereForSelects 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 setIsParseAllowed(int inIsParseAllowed)
throws java.rmi.RemoteException
IsParseAllowed value and sets the state to MetadataState.LOCAL.
inIsParseAllowed - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsParseAllowed(int inIsParseAllowed,
int state)
throws java.rmi.RemoteException
IsParseAllowed Metadata State.
inIsParseAllowed - intstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsParseAllowed(java.lang.String inIsParseAllowed)
throws java.rmi.RemoteException
IsParseAllowed value and sets the state to MetadataState.LOCAL.
inIsParseAllowed - String
java.rmi.RemoteException - If error communicating with remote object.
void setIsParseAllowed(java.lang.String inIsParseAllowed,
int state)
throws java.rmi.RemoteException
IsParseAllowed value and Metadata State.
inIsParseAllowed - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsParseAllowedState(int state)
throws java.rmi.RemoteException
IsParseAllowed.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsSubstitutionAllowed(int inIsSubstitutionAllowed)
throws java.rmi.RemoteException
IsSubstitutionAllowed value and sets the state to MetadataState.LOCAL.
inIsSubstitutionAllowed - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsSubstitutionAllowed(int inIsSubstitutionAllowed,
int state)
throws java.rmi.RemoteException
IsSubstitutionAllowed Metadata State.
inIsSubstitutionAllowed - intstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsSubstitutionAllowed(java.lang.String inIsSubstitutionAllowed)
throws java.rmi.RemoteException
IsSubstitutionAllowed value and sets the state to MetadataState.LOCAL.
inIsSubstitutionAllowed - String
java.rmi.RemoteException - If error communicating with remote object.
void setIsSubstitutionAllowed(java.lang.String inIsSubstitutionAllowed,
int state)
throws java.rmi.RemoteException
IsSubstitutionAllowed value and Metadata State.
inIsSubstitutionAllowed - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsSubstitutionAllowedState(int state)
throws java.rmi.RemoteException
IsSubstitutionAllowed.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setGroupByForSelects(AssociationList list)
throws java.rmi.RemoteException
GroupByForSelects list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setGroupByForSelects(AssociationList list,
int state)
throws java.rmi.RemoteException
GroupByForSelects list to be list. Objects of which can be of type:
list - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setGroupByForSelect(GroupByClause inObject)
throws java.rmi.RemoteException
GroupByForSelects list 0th element to be inObject.
inObject - GroupByClause
java.rmi.RemoteException - If error communicating with remote object.
void setHavingForSelects(AssociationList list)
throws java.rmi.RemoteException
HavingForSelects list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setHavingForSelects(AssociationList list,
int state)
throws java.rmi.RemoteException
HavingForSelects list to be list. Objects of which can be of type:
list - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setHavingForSelect(HavingClause inObject)
throws java.rmi.RemoteException
HavingForSelects list 0th element to be inObject.
inObject - HavingClause
java.rmi.RemoteException - If error communicating with remote object.
void setOrderByForSelects(AssociationList list)
throws java.rmi.RemoteException
OrderByForSelects list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setOrderByForSelects(AssociationList list,
int state)
throws java.rmi.RemoteException
OrderByForSelects list to be list. Objects of which can be of type:
list - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setOrderByForSelect(OrderByClause inObject)
throws java.rmi.RemoteException
OrderByForSelects list 0th element to be inObject.
inObject - OrderByClause
java.rmi.RemoteException - If error communicating with remote object.
void setWhereForSelects(AssociationList list)
throws java.rmi.RemoteException
WhereForSelects list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setWhereForSelects(AssociationList list,
int state)
throws java.rmi.RemoteException
WhereForSelects list to be list. Objects of which can be of type:
list - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setWhereForSelect(WhereClause inObject)
throws java.rmi.RemoteException
WhereForSelects list 0th element to be inObject.
inObject - WhereClause
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 | |||||||||||||