public class BTreeIndexConfig extends Object implements IdentifiedDataSerializable
| Modifier and Type | Field and Description | 
|---|---|
| static Capacity | DEFAULT_PAGE_SIZEDefault value of page size for B-Trees. | 
| Constructor and Description | 
|---|
| BTreeIndexConfig() | 
| BTreeIndexConfig(BTreeIndexConfig other) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object o) | 
| int | getClassId()Returns type identifier for this class. | 
| int | getFactoryId()Returns DataSerializableFactory factory ID for this class. | 
| MemoryTierConfig | getMemoryTierConfig()Returns memory tier configuration for this index. | 
| Capacity | getPageSize()Returns the page size of B-Tree index. | 
| int | hashCode() | 
| void | readData(ObjectDataInput in)Reads fields from the input stream | 
| BTreeIndexConfig | setMemoryTierConfig(MemoryTierConfig memoryTierConfig)Sets memory tier configuration for this index to given configuration. | 
| BTreeIndexConfig | setPageSize(Capacity pageSize)Sets index page size to given non-negative value. | 
| String | toString() | 
| void | writeData(ObjectDataOutput out)Writes object fields to output stream | 
public static final Capacity DEFAULT_PAGE_SIZE
public BTreeIndexConfig()
public BTreeIndexConfig(BTreeIndexConfig other)
public Capacity getPageSize()
public BTreeIndexConfig setPageSize(Capacity pageSize)
pageSize - page size of the index@Nonnull public MemoryTierConfig getMemoryTierConfig()
public BTreeIndexConfig setMemoryTierConfig(MemoryTierConfig memoryTierConfig)
memoryTierConfig - new memory tier configuration to be set.public void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOException - if an I/O error occurs. In particular,
                     an IOException may be thrown if the
                     output stream has been closed.public void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOException - if an I/O error occurs. In particular,
                     an IOException may be thrown if the
                     input stream has been closed.public int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic int getClassId()
IdentifiedDataSerializablegetClassId in interface IdentifiedDataSerializableCopyright © 2022 Hazelcast, Inc.. All rights reserved.