|
IBM WebSphere Extended Deployment (XD)TM, Release 6.1 ObjectGrid API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface StreamQueryMetadata
A common parent interface for ViewMetadata and StreamMetadata.
AccessType| Method Summary | |
|---|---|
AccessType |
getAccessType()
Get the access type. |
java.lang.String |
getMapName()
return the ObjectGrid map name of the map that contains the data for this view or stream |
java.lang.String |
getName()
return the name of the stream or view |
java.lang.String |
getObjectGridName()
return the ObjectGrid name of the map that contains the data for this view or stream |
java.lang.String |
getSql()
|
java.util.Map |
getValueAttributeMapping()
Return the map which stores the mapping between SQL columns and value class field or accessor method. |
java.lang.Class |
getValueClass()
Return the class type of the value stored in the ObjectMap. |
| Method Detail |
|---|
java.lang.String getName()
java.lang.String getObjectGridName()
java.lang.String getMapName()
java.lang.Class getValueClass()
java.lang.String getSql()
java.util.Map getValueAttributeMapping()
AccessType.FIELD, then the value stored in this map is the field name.
If the access type is AccessType.PROPERTY, then the value stored in this map
is the access method.
Since the setValueAttributeMapping makes a copy of the passed-in map and changes all column names to lower case, so the returned map might not be equal to the map passed in the setValueAttributeMapping method.
AccessType getAccessType()
AccessType.FIELD, then the SQL
column values will be retrieved and set directly on the fileds using java reflection.
If the access type is AccessType.PROPERTY, then the SQL
column values will be retrieved and set using accessor methods.
AccessType
|
IBM WebSphere Extended Deployment (XD)TM, Release 6.1 ObjectGrid API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||