public class ViewManager extends Object
Constructor and Description |
---|
ViewManager(OrientDBInternal orientDb,
String dbName) |
public ViewManager(OrientDBInternal orientDb, String dbName)
protected void init()
public boolean registerLiveUpdateFor(ODatabaseSession db, String viewName)
public void load()
public void start()
public void close()
public void cleanUnusedViewClusters(ODatabaseDocument db)
public void cleanUnusedViewIndexes(ODatabaseDocumentInternal db)
public void updateView(OView view, ODatabaseDocumentInternal db)
public void updateViewAsync(String name, ViewCreationListener listener)
public void startUsingViewCluster(Integer cluster)
public void endUsingViewCluster(Integer cluster)
public void recordAdded(OImmutableClass clazz, ODocument doc, ODatabaseDocumentEmbedded oDatabaseDocumentEmbedded)
public void recordUpdated(OImmutableClass clazz, ODocument doc, ODatabaseDocumentEmbedded oDatabaseDocumentEmbedded)
public void recordDeleted(OImmutableClass clazz, ODocument doc, ODatabaseDocumentEmbedded oDatabaseDocumentEmbedded)
public String getViewFromOldCluster(int clusterId)
public void endUsingViewIndex(String indexName)
public void startUsingViewIndex(String indexName)
Copyright © 2009–2020 OrientDB. All rights reserved.