public class IndexRenameRootPageRecord extends WALRecord
WALRecord.RecordPurpose, WALRecord.RecordType| Constructor and Description |
|---|
IndexRenameRootPageRecord(DataInput in)
Constructor.
|
IndexRenameRootPageRecord(int cacheId,
String oldTreeName,
String newTreeName,
int segments)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
cacheId()
Getting cache id.
|
int |
dataSize()
Calculating the size of the data.
|
String |
newTreeName()
Getting new name of underlying index tree name.
|
String |
oldTreeName()
Getting old name of underlying index tree name.
|
int |
segments()
Getting number of segments.
|
String |
toString() |
WALRecord.RecordType |
type() |
void |
writeRecord(ByteBuffer buf)
Writing data to the buffer.
|
public IndexRenameRootPageRecord(int cacheId,
String oldTreeName,
String newTreeName,
int segments)
cacheId - Cache id.oldTreeName - Old name of underlying index tree name.newTreeName - New name of underlying index tree name.segments - Number of segments.public IndexRenameRootPageRecord(DataInput in) throws IOException
in - Data input.IOException - If there are errors while reading the data.writeRecord(java.nio.ByteBuffer),
dataSize()public WALRecord.RecordType type()
public int cacheId()
public String oldTreeName()
public String newTreeName()
public int segments()
public int dataSize()
IndexRenameRootPageRecord(DataInput),
writeRecord(java.nio.ByteBuffer)public void writeRecord(ByteBuffer buf)
buf - Output buffer.IndexRenameRootPageRecord(DataInput),
dataSize()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023