org.apache.hadoop.hdfs.util
Class LongBitFormat
java.lang.Object
org.apache.hadoop.hdfs.util.LongBitFormat
- All Implemented Interfaces:
- Serializable
public class LongBitFormat
- extends Object
- implements Serializable
Bit format in a long.
- See Also:
- Serialized Form
Method Summary |
long |
combine(long value,
long record)
Combine the value to the record. |
long |
retrieve(long record)
Retrieve the value from the record. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LongBitFormat
public LongBitFormat(String name,
LongBitFormat previous,
int length,
long min)
retrieve
public long retrieve(long record)
- Retrieve the value from the record.
combine
public long combine(long value,
long record)
- Combine the value to the record.
Copyright © 2014 Apache Software Foundation. All Rights Reserved.