Class DataoutputHasher
- java.lang.Object
-
- org.apache.accumulo.core.sample.impl.DataoutputHasher
-
- All Implemented Interfaces:
DataOutput
public class DataoutputHasher extends Object implements DataOutput
-
-
Constructor Summary
Constructors Constructor Description DataoutputHasher(com.google.common.hash.Hasher hasher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(byte[] b)
void
write(byte[] b, int off, int len)
void
write(int b)
void
writeBoolean(boolean v)
void
writeByte(int v)
void
writeBytes(String s)
void
writeChar(int v)
void
writeChars(String s)
void
writeDouble(double v)
void
writeFloat(float v)
void
writeInt(int v)
void
writeLong(long v)
void
writeShort(int v)
void
writeUTF(String s)
-
-
-
Method Detail
-
write
public void write(int b)
- Specified by:
write
in interfaceDataOutput
-
write
public void write(byte[] b)
- Specified by:
write
in interfaceDataOutput
-
write
public void write(byte[] b, int off, int len)
- Specified by:
write
in interfaceDataOutput
-
writeBoolean
public void writeBoolean(boolean v)
- Specified by:
writeBoolean
in interfaceDataOutput
-
writeByte
public void writeByte(int v)
- Specified by:
writeByte
in interfaceDataOutput
-
writeShort
public void writeShort(int v)
- Specified by:
writeShort
in interfaceDataOutput
-
writeChar
public void writeChar(int v)
- Specified by:
writeChar
in interfaceDataOutput
-
writeInt
public void writeInt(int v)
- Specified by:
writeInt
in interfaceDataOutput
-
writeLong
public void writeLong(long v)
- Specified by:
writeLong
in interfaceDataOutput
-
writeFloat
public void writeFloat(float v)
- Specified by:
writeFloat
in interfaceDataOutput
-
writeDouble
public void writeDouble(double v)
- Specified by:
writeDouble
in interfaceDataOutput
-
writeBytes
public void writeBytes(String s)
- Specified by:
writeBytes
in interfaceDataOutput
-
writeChars
public void writeChars(String s)
- Specified by:
writeChars
in interfaceDataOutput
-
writeUTF
public void writeUTF(String s)
- Specified by:
writeUTF
in interfaceDataOutput
-
-