
| Constructor and Description |
|---|
OResultBinary(ODatabaseSession db,
byte[] bytes,
int offset,
int fieldLength,
ODocumentSerializer serializer,
ORecordId id) |
OResultBinary(OImmutableSchema schema,
byte[] bytes,
int offset,
int fieldLength,
ODocumentSerializer serializer) |
| Modifier and Type | Method and Description |
|---|---|
Optional<OBlob> |
getBlob() |
OBlob |
getBlobProperty(String name)
returns an OEdge property from the result
|
byte[] |
getBytes() |
OEdge |
getEdgeProperty(String name)
returns an OEdge property from the result
|
Optional<OElement> |
getElement() |
OElement |
getElementProperty(String name)
returns an OElement property from the result
|
int |
getFieldLength() |
Optional<ORID> |
getIdentity() |
Object |
getMetadata(String key)
return metadata related to current result given a key
|
Set<String> |
getMetadataKeys()
return all the metadata keys available
|
int |
getOffset() |
<T> T |
getProperty(String name)
returns a property from the result
|
Set<String> |
getPropertyNames() |
Optional<ORecord> |
getRecord() |
OVertex |
getVertexProperty(String name)
returns an OVertex property from the result
|
boolean |
hasProperty(String varName) |
boolean |
isBlob() |
boolean |
isElement() |
boolean |
isProjection() |
OElement |
toElement() |
public OResultBinary(OImmutableSchema schema, byte[] bytes, int offset, int fieldLength, ODocumentSerializer serializer)
public OResultBinary(ODatabaseSession db, byte[] bytes, int offset, int fieldLength, ODocumentSerializer serializer, ORecordId id)
public int getFieldLength()
public int getOffset()
public byte[] getBytes()
public <T> T getProperty(String name)
OResultgetProperty in interface OResultname - the property nameOResult.getElementProperty(String) OResult.getVertexProperty(String) OResult.getEdgeProperty(String) OResult.getBlobProperty(String)public OElement getElementProperty(String name)
OResultgetElementProperty in interface OResultname - the property namepublic OVertex getVertexProperty(String name)
OResultgetVertexProperty in interface OResultname - the property namepublic OEdge getEdgeProperty(String name)
OResultgetEdgeProperty in interface OResultname - the property namepublic OBlob getBlobProperty(String name)
OResultgetBlobProperty in interface OResultname - the property namepublic Set<String> getPropertyNames()
getPropertyNames in interface OResultpublic Optional<ORID> getIdentity()
getIdentity in interface OResultpublic Optional<OElement> getElement()
getElement in interface OResultpublic boolean isProjection()
isProjection in interface OResultpublic Object getMetadata(String key)
OResultgetMetadata in interface OResultkey - the metadata keypublic Set<String> getMetadataKeys()
OResultgetMetadataKeys in interface OResultpublic boolean hasProperty(String varName)
hasProperty in interface OResultCopyright © 2009–2025 OrientDB. All rights reserved.