Package oracle.rules.sdk2.decisionpoint
Class ViewObjectReference
java.lang.Object
oracle.rules.sdk2.decisionpoint.ViewObjectReference
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionaddKeyValue(String name, Object value) shortThe number of rows pre-fetched per call to the database.booleanintgetName()booleansetFetchSize(short newfetchSize) setForwardOnly(boolean newforwardOnly) setMaxFetchSize(int newmaxFetchSize) Maximum number of rows to fetch for this View Object.setUsingWhereClause(boolean newusingWhereClause) setViewObjectLoader(String newviewObjectLoader)
-
Constructor Details
-
ViewObjectReference
public ViewObjectReference() -
ViewObjectReference
-
ViewObjectReference
-
-
Method Details
-
getKeyValues
-
getViewObjectLoader
-
getFetchSize
public short getFetchSize()The number of rows pre-fetched per call to the database. This should be set to a value according to the magnitude of the number of rows. Note that the row pre-fetch size has performance ramifications. A larger fetch size is more expensive in terms of memory usage than a smaller size. A smaller fetch size will incur the database call overhead once per row, which can significantly reduce performance. The default fetch size is 1 row. -
setFetchSize
-
setMaxFetchSize
Maximum number of rows to fetch for this View Object. This generally does not need to be changed. Value of -1 will retrieve an unlimited number of rows (default). Value of 0 will cause the database query not to be executed. -
getMaxFetchSize
public int getMaxFetchSize() -
getForwardOnly
public boolean getForwardOnly() -
setForwardOnly
-
isUsingWhereClause
public boolean isUsingWhereClause() -
getName
-
setName
-
addKeyValue
-
clearKeyValues
-
setViewObjectLoader
-
setUsingWhereClause
-