public class OLiveCommandResultListener extends OAbstractCommandResultListener implements OLiveResultListener
wrappedResultListener
Constructor and Description |
---|
OLiveCommandResultListener(OServer server,
OClientConnection connection,
OCommandResultListener wrappedResultListener) |
Modifier and Type | Method and Description |
---|---|
boolean |
isEmpty() |
void |
linkdedBySimpleValue(ODocument doc) |
void |
onError(int iLiveToken) |
void |
onLiveResult(int iToken,
ORecordOperation iOp) |
void |
onUnsubscribe(int iLiveToken) |
boolean |
result(Object iRecord)
This method is called for each result.
|
void |
writeBytes(DataOutputStream out,
byte[] bytes) |
end, fetchRecord, getResult, setFetchPlan
public OLiveCommandResultListener(OServer server, OClientConnection connection, OCommandResultListener wrappedResultListener)
public boolean result(Object iRecord)
OCommandResultListener
result
in interface OCommandResultListener
iRecord
- Current recordpublic boolean isEmpty()
isEmpty
in class OAbstractCommandResultListener
public void onLiveResult(int iToken, ORecordOperation iOp) throws OException
onLiveResult
in interface OLiveResultListener
OException
public void onError(int iLiveToken)
onError
in interface OLiveResultListener
public void onUnsubscribe(int iLiveToken)
onUnsubscribe
in interface OLiveResultListener
public void writeBytes(DataOutputStream out, byte[] bytes) throws IOException
IOException
public void linkdedBySimpleValue(ODocument doc)
linkdedBySimpleValue
in interface SimpleValueFetchPlanCommandListener
Copyright © 2009–2020 OrientDB. All rights reserved.