This method returns the default record type for the database.
ODatabaseDocument class serves as a generic interface for operating on both Document and Grap databases. Records are stored using different classes depending on which database-type you chose to use. This method tells you which class is being used as the default on your database.
public byte ODatabaseDocument().getRecordType()