|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Read-only interface for Query results, contains a set of SearchResultRow
Field Summary | |
---|---|
static java.lang.String |
copyright
|
Method Summary | |
---|---|
boolean |
getBoolean(int columnIndex)
Get the value of a column in the current row as Java Float value.It can be used for "Flag" SpecNode type. |
Catalog |
getCatalog(int columnIndex)
Get the value of a column in the current row as Java Float value.It can be used for Catalog object |
Category |
getCategory(int columnIndex)
Get the value of a column in the current row as Java Float value.It can be used for Category object. |
java.util.Date |
getDate(int columnIndex)
Get the value of a column in the current row as Java Float value.It can be used for "Date" SpecNode type. |
double |
getDouble(int columnIndex)
Get the value of a column in the current row as Java double value.It can be used for "Number" SpecNode type. |
float |
getFloat(int columnIndex)
Get the value of a column in the current row as Java Float value.It can be used for "Number" SpecNode type. |
Hierarchy |
getHierarchy(int columnIndex)
Get the value of a column in the current row as Java Float value.It can be used for Hierarchy object |
int |
getInt(int columnIndex)
Get the value of a column in the current row as a Java int value. |
Item |
getItem(int columnIndex)
Get the value of a column in the current row as Java Float value.It can be used for Item object |
long |
getLong(int columnIndex)
Get the value of a column in the current row as Java long value.It can be used for "Number" SpecNode type. |
SearchColumnType[] |
getMetaData()
Returns MetaData information of each column of resultset in form of com.ibm.pim.interfaces.search.SqlColumnType array. |
SearchQuery |
getQuery()
Returns the Query object which returned this SearchResultSet. |
Spec |
getSpec(int columnIndex)
Get the value of a column in the current row as Java Float value.It can be used for Spec object |
java.lang.String |
getString(int columnIndex)
Get the value of a column in the current row as Java String value.It can be used for all kind of specnode type e.g "Binary,Grouping,Image,Image url,Lookup table,Password,String,String enumeration,Thumbnail image,Thumbnail image url,Timezone,URL" etc. |
boolean |
next()
Use this method to iterate through rows in result set. |
int |
size()
Returns the number of rows in the resultset. |
Field Detail |
public static final java.lang.String copyright
Method Detail |
public SearchQuery getQuery() throws PIMInternalException, PIMAuthorizationException
PIMInternalException
- If an internal error occurs
PIMAuthorizationException
- If the user is not allowed to perform this operationpublic SearchColumnType[] getMetaData() throws PIMInternalException, PIMAuthorizationException
com.ibm.pim.interfaces.search.SqlColumnType
array.
PIMInternalException
- If an internal error occurs
PIMAuthorizationException
- If the user is not allowed to perform this operationpublic boolean next() throws PIMInternalException, PIMAuthorizationException
PIMInternalException
- If an internal error occurs
PIMAuthorizationException
- If the user is not allowed to perform this operationpublic int size() throws PIMInternalException, PIMAuthorizationException
PIMInternalException
PIMAuthorizationException
public int getInt(int columnIndex) throws PIMSearchException, PIMInternalException, PIMAuthorizationException
columnIndex
- the first column is 1, the second is 2, ...
PIMUndefinedValueException
- if the column has no value (null)
PIMSearchException
- if a search error occurs
PIMInternalException
- If an internal error occurs
PIMAuthorizationException
- If the user is not allowed to perform this operationpublic double getDouble(int columnIndex) throws PIMSearchException, PIMInternalException, PIMAuthorizationException
columnIndex
- the first column is 1, the second is 2, ...
PIMUndefinedValueException
- if the column has no value (null)
PIMSearchException
- if a search error occurs
PIMInternalException
- If an internal error occurs
PIMAuthorizationException
- If the user is not allowed to perform this operationpublic float getFloat(int columnIndex) throws PIMSearchException, PIMInternalException, PIMAuthorizationException
columnIndex
- the first column is 1, the second is 2, ...
PIMUndefinedValueException
- if the column has no value (null)
PIMSearchException
- if a search error occurs
PIMInternalException
- If an internal error occurs
PIMAuthorizationException
- If the user is not allowed to perform this operationpublic long getLong(int columnIndex) throws PIMSearchException, PIMInternalException, PIMAuthorizationException
columnIndex
- the first column is 1, the second is 2, ...
PIMUndefinedValueException
exception.
PIMSearchException
PIMInternalException
PIMAuthorizationException
public java.lang.String getString(int columnIndex) throws PIMSearchException, PIMInternalException, PIMAuthorizationException
columnIndex
- the first column is 1, the second is 2, ...
PIMUndefinedValueException
- if the column has no value (null)
PIMSearchException
- if a search error occurs
PIMInternalException
- If an internal error occurs
PIMAuthorizationException
- If the user is not allowed to perform this operationpublic boolean getBoolean(int columnIndex) throws PIMSearchException, PIMInternalException, PIMAuthorizationException
columnIndex
- the first column is 1, the second is 2, ...
PIMUndefinedValueException
- if the column has no value (null)
PIMSearchException
- if a search error occurs
PIMInternalException
- If an internal error occurs
PIMAuthorizationException
- If the user is not allowed to perform this operationpublic java.util.Date getDate(int columnIndex) throws PIMSearchException, PIMInternalException, PIMAuthorizationException
columnIndex
- the first column is 1, the second is 2, ...
PIMUndefinedValueException
- if the column has no value (null)
PIMSearchException
- if a search error occurs
PIMInternalException
- If an internal error occurs
PIMAuthorizationException
- If the user is not allowed to perform this operationpublic Item getItem(int columnIndex) throws PIMSearchException, PIMInternalException, PIMAuthorizationException
Item
object
columnIndex
- the first column is 1, the second is 2, ...
PIMSearchException
- if a search error occurs
PIMInternalException
- If an internal error occurs
PIMAuthorizationException
- If the user is not allowed to perform this operationpublic Category getCategory(int columnIndex) throws PIMSearchException, PIMInternalException, PIMAuthorizationException
Category
object.
columnIndex
- the first column is 1, the second is 2, ...
PIMSearchException
- if a search error occurs
PIMInternalException
- If an internal error occurs
PIMAuthorizationException
- If the user is not allowed to perform this operationpublic Catalog getCatalog(int columnIndex) throws PIMSearchException, PIMInternalException, PIMAuthorizationException
Catalog
object
columnIndex
- the first column is 1, the second is 2, ...
PIMSearchException
PIMInternalException
PIMAuthorizationException
public Hierarchy getHierarchy(int columnIndex) throws PIMSearchException, PIMInternalException, PIMAuthorizationException
Hierarchy
object
columnIndex
- the first column is 1, the second is 2, ...
PIMSearchException
- if a search error occurs
PIMInternalException
- If an internal error occurs
PIMAuthorizationException
- If the user is not allowed to perform this operationpublic Spec getSpec(int columnIndex) throws PIMSearchException, PIMInternalException, PIMAuthorizationException
Spec
object
columnIndex
- the first column is 1, the second is 2, ...
PIMSearchException
- if a search error occurs
PIMInternalException
- If an internal error occurs
PIMAuthorizationException
- If the user is not allowed to perform this operation
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |