org.apache.hadoop.hive.ql.index.bitmap
Class BitmapObjectOutput
java.lang.Object
org.apache.hadoop.hive.ql.index.bitmap.BitmapObjectOutput
- All Implemented Interfaces:
- DataOutput, ObjectOutput
public class BitmapObjectOutput
- extends Object
- implements ObjectOutput
An ObjectOutput that allows conversion from an EWAH-compressed bitmap
to an List of LongWritable.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BitmapObjectOutput
public BitmapObjectOutput()
list
public List<org.apache.hadoop.io.LongWritable> list()
close
public void close()
throws IOException
- Specified by:
close in interface ObjectOutput
- Throws:
IOException
flush
public void flush()
throws IOException
- Specified by:
flush in interface ObjectOutput
- Throws:
IOException
write
public void write(int arg0)
throws IOException
- Specified by:
write in interface DataOutput- Specified by:
write in interface ObjectOutput
- Throws:
IOException
write
public void write(byte[] arg0)
throws IOException
- Specified by:
write in interface DataOutput- Specified by:
write in interface ObjectOutput
- Throws:
IOException
write
public void write(byte[] arg0,
int arg1,
int arg2)
throws IOException
- Specified by:
write in interface DataOutput- Specified by:
write in interface ObjectOutput
- Throws:
IOException
writeObject
public void writeObject(Object arg0)
throws IOException
- Specified by:
writeObject in interface ObjectOutput
- Throws:
IOException
writeBoolean
public void writeBoolean(boolean arg0)
throws IOException
- Specified by:
writeBoolean in interface DataOutput
- Throws:
IOException
writeByte
public void writeByte(int arg0)
throws IOException
- Specified by:
writeByte in interface DataOutput
- Throws:
IOException
writeBytes
public void writeBytes(String arg0)
throws IOException
- Specified by:
writeBytes in interface DataOutput
- Throws:
IOException
writeChar
public void writeChar(int arg0)
throws IOException
- Specified by:
writeChar in interface DataOutput
- Throws:
IOException
writeChars
public void writeChars(String arg0)
throws IOException
- Specified by:
writeChars in interface DataOutput
- Throws:
IOException
writeDouble
public void writeDouble(double v)
throws IOException
- Specified by:
writeDouble in interface DataOutput
- Throws:
IOException
writeFloat
public void writeFloat(float v)
throws IOException
- Specified by:
writeFloat in interface DataOutput
- Throws:
IOException
writeInt
public void writeInt(int v)
throws IOException
- Specified by:
writeInt in interface DataOutput
- Throws:
IOException
writeLong
public void writeLong(long v)
throws IOException
- Specified by:
writeLong in interface DataOutput
- Throws:
IOException
writeShort
public void writeShort(int v)
throws IOException
- Specified by:
writeShort in interface DataOutput
- Throws:
IOException
writeUTF
public void writeUTF(String s)
throws IOException
- Specified by:
writeUTF in interface DataOutput
- Throws:
IOException
Copyright © 2014 The Apache Software Foundation. All rights reserved.