Class OCurrentStorageComponentsFactory

java.lang.Object
com.orientechnologies.orient.core.db.record.OCurrentStorageComponentsFactory

public class OCurrentStorageComponentsFactory extends Object
The factory that defines a set of components that current database should use to be compatible to current version of storage. So if you open a database create with old version of OrientDB it defines a components that should be used to provide backward compatibility with that version of database.
Since:
2/14/14
Author:
Andrey Lomakin (a.lomakin-at-orientdb.com)
  • Field Details

    • binaryFormatVersion

      public final int binaryFormatVersion
    • binarySerializerFactory

      public final OBinarySerializerFactory binarySerializerFactory
  • Constructor Details

    • OCurrentStorageComponentsFactory

      public OCurrentStorageComponentsFactory(OStorageConfiguration configuration)
  • Method Details

    • classesAreDetectedByClusterId

      public boolean classesAreDetectedByClusterId()
      Returns:
      Whether class of is detected by cluster id or it is taken from documents serialized content.
      Since:
      1.7