@InterfaceAudience.Private @InterfaceStability.Evolving public final class ProcedureWALFormat extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ProcedureWALFormat.InvalidWALDataException |
public static void load(Iterator<ProcedureWALFile> logs, ProcedureStoreTracker tracker, org.apache.hadoop.hbase.procedure2.store.wal.ProcedureWALFormat.Loader loader) throws IOException
IOExceptionpublic static void writeHeader(OutputStream stream, ProcedureProtos.ProcedureWALHeader header) throws IOException
IOExceptionpublic static long writeTrailer(org.apache.hadoop.fs.FSDataOutputStream stream,
ProcedureStoreTracker tracker)
throws IOException
IOExceptionpublic static ProcedureProtos.ProcedureWALHeader readHeader(InputStream stream) throws IOException
IOExceptionpublic static ProcedureProtos.ProcedureWALTrailer readTrailer(org.apache.hadoop.fs.FSDataInputStream stream, long startPos, long size) throws IOException
IOExceptionpublic static ProcedureProtos.ProcedureWALEntry readEntry(InputStream stream) throws IOException
IOExceptionpublic static void writeEntry(ByteSlot slot, ProcedureProtos.ProcedureWALEntry.Type type, Procedure proc, Procedure[] subprocs) throws IOException
IOExceptionpublic static void writeInsert(ByteSlot slot, Procedure proc) throws IOException
IOExceptionpublic static void writeInsert(ByteSlot slot, Procedure proc, Procedure[] subprocs) throws IOException
IOExceptionpublic static void writeUpdate(ByteSlot slot, Procedure proc) throws IOException
IOExceptionpublic static void writeDelete(ByteSlot slot, long procId) throws IOException
IOExceptionpublic static void writeDelete(ByteSlot slot, Procedure proc, long[] subprocs) throws IOException
IOExceptionCopyright © 2007–2020. All rights reserved.