Module org.eclipse.persistence.dbws
Class QueryOperation
java.lang.Object
org.eclipse.persistence.internal.xr.Operation
org.eclipse.persistence.internal.xr.QueryOperation
- Direct Known Subclasses:
BatchQueryOperation
INTERNAL:An XR QueryOperation is an executable representation of a SELECT
operation on the database.
- Since:
- EclipseLink 1.x
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringstatic final Stringprotected QueryHandlerprotected Resultprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected booleanprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final StringFields inherited from class org.eclipse.persistence.internal.xr.Operation
name, parameters -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidaddValueObjectDescriptor(XRServiceAdapter xrService) createSimpleXMLFormat(XRServiceAdapter xrService, Object value) booleanvoidinitialize(XRServiceAdapter xrService) invoke(XRServiceAdapter xrService, Invocation invocation) ExecuteSELECToperation on the databasebooleanbooleanbooleanbooleanprotected voidpopulateTargetObjectFromRecord(Vector<DatabaseMapping> mappings, AbstractRecord record, Object targetObject, AbstractSession session) voidsetQueryHandler(QueryHandler queryHandler) voidvoidsetUserDefined(boolean userDefined) voidvalidate(XRServiceAdapter xrService) Methods inherited from class org.eclipse.persistence.internal.xr.Operation
getName, getParameters, setName
-
Field Details
-
ORACLEOPAQUE_STR
- See Also:
-
RESULT_STR
- See Also:
-
XMLTYPEFACTORY_STR
- See Also:
-
GETSTRING_METHOD
- See Also:
-
ATTACHMENT_STR
- See Also:
-
CURSOR_OF_STR
- See Also:
-
DATAHANDLER_STR
- See Also:
-
RESULTS_STR
- See Also:
-
VALUEOBJECT_STR
- See Also:
-
VALUE_STR
- See Also:
-
SIMPLEXML_FORMAT_STR
- See Also:
-
SIMPLEXML_STR
- See Also:
-
DATABASEQUERY_STR
- See Also:
-
ITEMS_STR
- See Also:
-
XSD_STR
- See Also:
-
XSI_STR
- See Also:
-
XSITYPE_STR
- See Also:
-
BASE64_BINARY_STR
- See Also:
-
result
-
queryHandler
-
userDefined
protected boolean userDefined
-
-
Constructor Details
-
QueryOperation
public QueryOperation()
-
-
Method Details
-
getResult
-
setResult
-
getQueryHandler
-
setQueryHandler
-
isUserDefined
public boolean isUserDefined() -
setUserDefined
public void setUserDefined(boolean userDefined) -
isCollection
public boolean isCollection()- Overrides:
isCollectionin classOperation
-
isSimpleXMLFormat
public boolean isSimpleXMLFormat() -
isAttachment
public boolean isAttachment() -
getResultType
-
hasResponse
public boolean hasResponse()- Overrides:
hasResponsein classOperation
-
validate
-
initialize
- Overrides:
initializein classOperation
-
addValueObjectDescriptor
-
addSimpleXMLFormatModelDescriptor
-
invoke
ExecuteSELECToperation on the database -
populateTargetObjectFromRecord
protected void populateTargetObjectFromRecord(Vector<DatabaseMapping> mappings, AbstractRecord record, Object targetObject, AbstractSession session) -
createSimpleXMLFormat
-