All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods
Modifier and Type |
Method and Description |
void |
acquireSchemaReadLock() |
void |
acquireSchemaWriteLock(ODatabaseDocumentInternal database) |
int |
addBlobCluster(ODatabaseDocumentInternal database,
int clusterId) |
protected void |
addClusterClassMap(OClass cls) |
protected void |
addClusterViewMap(OView cls) |
static Character |
checkClassNameIfValid(String iName) |
abstract void |
checkEmbedded() |
static Character |
checkFieldNameIfValid(String iName) |
void |
close()
Closes resources inside of call of OStorage#close().
|
int |
countClasses(ODatabaseDocumentInternal database) |
int |
countViews(ODatabaseDocumentInternal database) |
void |
create(ODatabaseDocumentInternal database) |
OClass |
createAbstractClass(ODatabaseDocumentInternal database,
String className) |
OClass |
createAbstractClass(ODatabaseDocumentInternal database,
String iClassName,
OClass... superClasses) |
OClass |
createAbstractClass(ODatabaseDocumentInternal database,
String className,
OClass superClass) |
OClass |
createClass(ODatabaseDocumentInternal database,
String className) |
abstract OClass |
createClass(ODatabaseDocumentInternal database,
String className,
int[] clusterIds,
OClass... superClasses) |
abstract OClass |
createClass(ODatabaseDocumentInternal database,
String className,
int clusters,
OClass... superClasses) |
OClass |
createClass(ODatabaseDocumentInternal database,
String iClassName,
OClass... superClasses) |
OClass |
createClass(ODatabaseDocumentInternal database,
String iClassName,
OClass iSuperClass) |
OClass |
createClass(ODatabaseDocumentInternal database,
String className,
OClass superClass,
int[] clusterIds) |
protected abstract OClassImpl |
createClassInstance(ODocument c) |
int |
createClusterIfNeeded(ODatabaseDocumentInternal database,
String nameOrId) |
OGlobalProperty |
createGlobalProperty(String name,
OType type,
Integer id) |
abstract OView |
createView(ODatabaseDocumentInternal database,
OViewConfig cfg) |
abstract OView |
createView(ODatabaseDocumentInternal database,
OViewConfig cfg,
ViewCreationListener listener) |
abstract OView |
createView(ODatabaseDocumentInternal database,
String viewName,
String statement,
Map<String,Object> metadata) |
protected abstract OViewImpl |
createViewInstance(ODocument c) |
abstract void |
dropClass(ODatabaseDocumentInternal database,
String className) |
abstract void |
dropView(ODatabaseDocumentInternal database,
String viewName) |
protected boolean |
executeThroughDistributedStorage(ODatabaseDocumentInternal database) |
boolean |
existsClass(String iClassName) |
boolean |
existsView(String viewName) |
protected OGlobalProperty |
findOrCreateGlobalProperty(String name,
OType type) |
void |
forceSnapshot(ODatabaseDocumentInternal database) |
void |
fromStream()
Binds ODocument to POJO.
|
Set<Integer> |
getBlobClusters() |
OClass |
getClass(Class<?> iClass) |
OClass |
getClass(String iClassName) |
OClass |
getClassByClusterId(int clusterId) |
Collection<OClass> |
getClasses(ODatabaseDocumentInternal database) |
Set<OClass> |
getClassesRelyOnCluster(ODatabaseDocumentInternal database,
String clusterName) |
protected int |
getClusterId(ODatabaseDocumentInternal database,
String stringValue) |
OClusterSelectionFactory |
getClusterSelectionFactory() |
ODocument |
getDocument() |
List<OGlobalProperty> |
getGlobalProperties() |
OGlobalProperty |
getGlobalPropertyById(int id) |
ORID |
getIdentity() |
OClass |
getOrCreateClass(ODatabaseDocumentInternal database,
String iClassName) |
abstract OClass |
getOrCreateClass(ODatabaseDocumentInternal database,
String iClassName,
OClass... superClasses) |
OClass |
getOrCreateClass(ODatabaseDocumentInternal database,
String iClassName,
OClass superClass) |
int |
getVersion()
Deprecated.
|
OView |
getView(String viewName) |
OView |
getViewByClusterId(int clusterId) |
Collection<OView> |
getViews(ODatabaseDocumentInternal database) |
Set<OView> |
getViewsRelyOnCluster(ODatabaseDocumentInternal database,
String clusterName) |
OSchemaShared |
load(ODatabaseDocumentInternal database) |
OImmutableSchema |
makeSnapshot(ODatabaseDocumentInternal database) |
void |
onPostIndexManagement()
Callback invoked when the schema is loaded, after all the initializations.
|
void |
releaseSchemaReadLock() |
void |
releaseSchemaWriteLock(ODatabaseDocumentInternal database) |
void |
releaseSchemaWriteLock(ODatabaseDocumentInternal database,
boolean iSave) |
void |
reload(ODatabaseDocumentInternal database)
Reloads the schema inside a storage's shared lock.
|
void |
removeBlobCluster(ODatabaseDocumentInternal database,
String clusterName) |
void |
sendCommand(ODatabaseDocumentInternal database,
String command) |
OSchemaShared |
setDirty() |
ODocument |
toNetworkStream() |
ODocument |
toStream()
Binds POJO to ODocument.
|