All Implemented Interfaces:
OClass, OView, Comparable<OClass>

public class OViewRemote extends OViewImpl
Created by tglman on 14/06/17.
  • Constructor Details

  • Method Details

    • addProperty

      protected OProperty addProperty(String propertyName, OType type, OType linkedType, OClass linkedClass, boolean unsafe)
      Specified by:
      addProperty in class OClassImpl
    • setEncryption

      public OClassImpl setEncryption(String iValue)
      Specified by:
      setEncryption in class OClassImpl
    • setClusterSelection

      public OClass setClusterSelection(String value)
    • setCustom

      public OClassImpl setCustom(String name, String value)
    • clearCustom

      public void clearCustom()
    • setSuperClasses

      public OClass setSuperClasses(List<? extends OClass> classes)
    • addSuperClass

      public OClass addSuperClass(OClass superClass)
    • removeSuperClass

      public OClass removeSuperClass(OClass superClass)
    • setName

      public OView setName(String name)
    • setShortName

      public OView setShortName(String shortName)
    • createPropertyInstance

      protected OPropertyImpl createPropertyInstance()
      Specified by:
      createPropertyInstance in class OClassImpl
    • truncateCluster

      public OView truncateCluster(String clusterName)
      Removes all data in the cluster with given name. As result indexes for this class will be rebuilt.
      Parameters:
      clusterName - Name of cluster to be truncated.
      Returns:
      Instance of current object.
    • setStrictMode

      public OView setStrictMode(boolean isStrict)
    • setDescription

      public OView setDescription(String iDescription)
    • addClusterId

      public OView addClusterId(int clusterId)
    • removeClusterId

      public OView removeClusterId(int clusterId)
    • dropProperty

      public void dropProperty(String propertyName)
    • addCluster

      public OView addCluster(String clusterNameOrId)
    • setOverSize

      public OView setOverSize(float overSize)
      Description copied from interface: OClass
      Sets the oversize factor. Oversize is used to extend the record size by a factor to avoid defragmentation upon updates. 0 or 1.0 means no oversize. Default is 0.
      Returns:
      Oversize factor
      See Also:
    • setAbstract

      public OView setAbstract(boolean isAbstract)
    • removeBaseClassInternal

      public OView removeBaseClassInternal(OClass baseClass)
      Specified by:
      removeBaseClassInternal in class OClassImpl
    • setSuperClassesInternal

      protected void setSuperClassesInternal(List<? extends OClass> classes)
      Specified by:
      setSuperClassesInternal in class OClassImpl
    • setDefaultClusterId

      public void setDefaultClusterId(int defaultClusterId)
    • replaceViewClusterAndIndex

      public OViewRemovedMetadata replaceViewClusterAndIndex(int cluster, List<OIndex> indexes, long lastRefreshTime)
      Specified by:
      replaceViewClusterAndIndex in class OViewImpl
    • addClusterIdToIndexes

      protected void addClusterIdToIndexes(int iId)
      Specified by:
      addClusterIdToIndexes in class OClassImpl