public class OResultInternal extends Object implements OResult
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
content |
protected OIdentifiable |
element |
protected Map<String,Object> |
metadata |
protected Map<String,Object> |
temporaryContent |
Constructor and Description |
---|
OResultInternal() |
OResultInternal(OIdentifiable ident) |
protected OIdentifiable element
public OResultInternal()
public OResultInternal(OIdentifiable ident)
public void removeProperty(String name)
public <T> T getProperty(String name)
OResult
getProperty
in interface OResult
name
- the property nameOResult.getElementProperty(String)
OResult.getVertexProperty(String)
OResult.getEdgeProperty(String)
OResult.getBlobProperty(String)
public OElement getElementProperty(String name)
OResult
getElementProperty
in interface OResult
name
- the property namepublic OVertex getVertexProperty(String name)
OResult
getVertexProperty
in interface OResult
name
- the property namepublic OEdge getEdgeProperty(String name)
OResult
getEdgeProperty
in interface OResult
name
- the property namepublic OBlob getBlobProperty(String name)
OResult
getBlobProperty
in interface OResult
name
- the property namepublic Set<String> getPropertyNames()
getPropertyNames
in interface OResult
public boolean hasProperty(String propName)
hasProperty
in interface OResult
public Optional<OElement> getElement()
getElement
in interface OResult
public Optional<ORID> getIdentity()
getIdentity
in interface OResult
public boolean isProjection()
isProjection
in interface OResult
public Object getMetadata(String key)
OResult
getMetadata
in interface OResult
key
- the metadata keypublic void clearMetadata()
public void removeMetadata(String key)
public Set<String> getMetadataKeys()
OResult
getMetadataKeys
in interface OResult
public void setElement(OIdentifiable element)
public void bindToCache(ODatabaseDocumentInternal db)
Copyright © 2009–2020 OrientDB. All rights reserved.