public static class MultiLevelIndex.BufferedWriter extends Object
Constructor and Description |
---|
BufferedWriter(MultiLevelIndex.Writer writer) |
Modifier and Type | Method and Description |
---|---|
void |
add(Key key,
int data,
long offset,
long compressedSize,
long rawSize) |
void |
addLast(Key key,
int data,
long offset,
long compressedSize,
long rawSize) |
void |
close(DataOutput out) |
public BufferedWriter(MultiLevelIndex.Writer writer)
public void add(Key key, int data, long offset, long compressedSize, long rawSize) throws IOException
IOException
public void addLast(Key key, int data, long offset, long compressedSize, long rawSize) throws IOException
IOException
public void close(DataOutput out) throws IOException
IOException
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.