public class CyrusIndexWriter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_VERSION |
protected java.io.OutputStream |
out |
protected int |
version |
Constructor and Description |
---|
CyrusIndexWriter(java.io.OutputStream out) |
CyrusIndexWriter(java.io.OutputStream out,
int version) |
Modifier and Type | Method and Description |
---|---|
static CyrusIndexRecord |
from(int version,
CyrusIndexMailboxRecord mrec) |
void |
writeAllRecords(MailboxReplica folder,
java.lang.Iterable<CyrusIndexMailboxRecord> records,
int recordsSize) |
public static final int DEFAULT_VERSION
protected java.io.OutputStream out
protected final int version
public CyrusIndexWriter(java.io.OutputStream out)
public CyrusIndexWriter(java.io.OutputStream out, int version)
public void writeAllRecords(MailboxReplica folder, java.lang.Iterable<CyrusIndexMailboxRecord> records, int recordsSize) throws java.io.IOException
java.io.IOException
public static CyrusIndexRecord from(int version, CyrusIndexMailboxRecord mrec)
Copyright © 2021. All Rights Reserved.