Package com.arcadedb.database
Interface Record
-
- All Superinterfaces:
Identifiable
- All Known Subinterfaces:
Document
,Edge
,EdgeSegment
,EmbeddedDocument
,LightEdge
,Vertex
,VertexInternal
- All Known Implementing Classes:
BaseDocument
,BaseRecord
,DetachedDocument
,ImmutableDocument
,ImmutableEdge
,ImmutableEmbeddedDocument
,ImmutableLightEdge
,ImmutableVertex
,MutableDocument
,MutableEdge
,MutableEdgeSegment
,MutableEmbeddedDocument
,MutableVertex
public interface Record extends Identifiable
Generic interface representing a record as an entry in the database.- Author:
- Luca Garulli
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
delete()
Database
getDatabase()
RID
getIdentity()
Returns the RID (Record ID) for the current object.byte
getRecordType()
void
reload()
org.json.JSONObject
toJSON()
-
Methods inherited from interface com.arcadedb.database.Identifiable
asDocument, asDocument, asEdge, asEdge, asVertex, asVertex, getRecord, getRecord
-
-
-
-
Method Detail
-
getIdentity
RID getIdentity()
Description copied from interface:Identifiable
Returns the RID (Record ID) for the current object.- Specified by:
getIdentity
in interfaceIdentifiable
- Returns:
- the
RID
-
getRecordType
byte getRecordType()
-
getDatabase
Database getDatabase()
-
reload
void reload()
-
delete
void delete()
-
toJSON
org.json.JSONObject toJSON()
-
-