Class BTreeIndexConfig

java.lang.Object
com.hazelcast.config.BTreeIndexConfig

public class BTreeIndexConfig extends Object
Configuration options specific for B-Tree indexes.
Since:
5.2
  • Field Details

    • DEFAULT_PAGE_SIZE

      public static final Capacity DEFAULT_PAGE_SIZE
      Default value of page size for B-Trees.
  • Constructor Details

    • BTreeIndexConfig

      public BTreeIndexConfig()
    • BTreeIndexConfig

      public BTreeIndexConfig(BTreeIndexConfig other)
  • Method Details

    • getPageSize

      public Capacity getPageSize()
      Returns the page size of B-Tree index.
      Returns:
      index page size.
    • setPageSize

      public BTreeIndexConfig setPageSize(Capacity pageSize)
      Sets index page size to given non-negative value.
      Parameters:
      pageSize - page size of the index
    • getMemoryTierConfig

      @Nonnull public MemoryTierConfig getMemoryTierConfig()
      Returns memory tier configuration for this index.
      Returns:
      memory tier configuration for this index.
    • setMemoryTierConfig

      public BTreeIndexConfig setMemoryTierConfig(MemoryTierConfig memoryTierConfig)
      Sets memory tier configuration for this index to given configuration.
      Parameters:
      memoryTierConfig - new memory tier configuration to be set.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object