You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by cj...@apache.org on 2013/05/14 21:38:04 UTC
svn commit: r1482535 - in /accumulo/trunk/core/src:
main/java/org/apache/accumulo/core/client/lexicoder/
main/java/org/apache/accumulo/core/client/lexicoder/impl/
test/java/org/apache/accumulo/core/client/lexicoder/
Author: cjnolet
Date: Tue May 14 19:38:03 2013
New Revision: 1482535
URL: http://svn.apache.org/r1482535
Log:
ACCUMULO-1383 Adding some Javadocs for the Lexicoders API.
Modified:
accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/BigIntegerLexicoder.java
accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/BytesLexicoder.java
accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/DateLexicoder.java
accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/DoubleLexicoder.java
accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/Encoder.java
accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/IntegerLexicoder.java
accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/Lexicoder.java
accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/ListLexicoder.java
accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/LongLexicoder.java
accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/PairLexicoder.java
accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/ReverseLexicoder.java
accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/StringLexicoder.java
accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/TextLexicoder.java
accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/UIntegerLexicoder.java
accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/ULongLexicoder.java
accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/UUIDLexicoder.java
accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/impl/ByteUtils.java
accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/impl/FixedByteArrayOutputStream.java
accumulo/trunk/core/src/test/java/org/apache/accumulo/core/client/lexicoder/BigIntegerLexicoderTest.java
Modified: accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/BigIntegerLexicoder.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/BigIntegerLexicoder.java?rev=1482535&r1=1482534&r2=1482535&view=diff
==============================================================================
--- accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/BigIntegerLexicoder.java (original)
+++ accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/BigIntegerLexicoder.java Tue May 14 19:38:03 2013
@@ -26,7 +26,7 @@ import org.apache.accumulo.core.client.l
import org.apache.accumulo.core.iterators.ValueFormatException;
/**
- *
+ * A lexicoder to encode/decode a BigInteger to/from bytes that maintain its native Java sort order.
* @since 1.6.0
*/
public class BigIntegerLexicoder implements Lexicoder<BigInteger> {
Modified: accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/BytesLexicoder.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/BytesLexicoder.java?rev=1482535&r1=1482534&r2=1482535&view=diff
==============================================================================
--- accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/BytesLexicoder.java (original)
+++ accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/BytesLexicoder.java Tue May 14 19:38:03 2013
@@ -17,6 +17,8 @@
package org.apache.accumulo.core.client.lexicoder;
/**
+ * For each of the methods, this lexicoder just passes the input through untouched. It is meant to be combined with other lexicoders like the
+ * {@link ReverseLexicoder}.
*
* @since 1.6.0
*/
Modified: accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/DateLexicoder.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/DateLexicoder.java?rev=1482535&r1=1482534&r2=1482535&view=diff
==============================================================================
--- accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/DateLexicoder.java (original)
+++ accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/DateLexicoder.java Tue May 14 19:38:03 2013
@@ -19,7 +19,7 @@ package org.apache.accumulo.core.client.
import java.util.Date;
/**
- *
+ * A lexicoder for date objects. It preserves the native Java sort order for Date.
* @since 1.6.0
*/
public class DateLexicoder implements Lexicoder<Date> {
Modified: accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/DoubleLexicoder.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/DoubleLexicoder.java?rev=1482535&r1=1482534&r2=1482535&view=diff
==============================================================================
--- accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/DoubleLexicoder.java (original)
+++ accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/DoubleLexicoder.java Tue May 14 19:38:03 2013
@@ -17,7 +17,8 @@
package org.apache.accumulo.core.client.lexicoder;
/**
- *
+ * A lexicoder for preserving the native Java sort order of Double values.
+ *
* @since 1.6.0
*/
public class DoubleLexicoder implements Lexicoder<Double> {
Modified: accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/Encoder.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/Encoder.java?rev=1482535&r1=1482534&r2=1482535&view=diff
==============================================================================
--- accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/Encoder.java (original)
+++ accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/Encoder.java Tue May 14 19:38:03 2013
@@ -17,7 +17,7 @@
package org.apache.accumulo.core.client.lexicoder;
/**
- *
+ * An encoder represents a typed object that can be encoded/decoded to/from a byte array.
* @since 1.6.0
*/
public interface Encoder<T> extends org.apache.accumulo.core.iterators.TypedValueCombiner.Encoder<T> {
Modified: accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/IntegerLexicoder.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/IntegerLexicoder.java?rev=1482535&r1=1482534&r2=1482535&view=diff
==============================================================================
--- accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/IntegerLexicoder.java (original)
+++ accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/IntegerLexicoder.java Tue May 14 19:38:03 2013
@@ -17,7 +17,8 @@
package org.apache.accumulo.core.client.lexicoder;
/**
- *
+ * A lexicoder for signed integers. The encoding sorts Integer.MIN_VALUE first and Integer.MAX_VALUE last. The encoding sorts -2 before -1. It
+ * corresponds to the sort order of Integer.
* @since 1.6.0
*/
public class IntegerLexicoder implements Lexicoder<Integer> {
Modified: accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/Lexicoder.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/Lexicoder.java?rev=1482535&r1=1482534&r2=1482535&view=diff
==============================================================================
--- accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/Lexicoder.java (original)
+++ accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/Lexicoder.java Tue May 14 19:38:03 2013
@@ -17,7 +17,8 @@
package org.apache.accumulo.core.client.lexicoder;
/**
- * An encoder that produces byte arrays in which the lexicographic sort order corresponds to the types sort order.
+ * A lexicoder provides methods to convert to/from byte arrays. The byte arrays are constructed so that their sort order corresponds their parameterized class's
+ * native Java sort order.
*
* @since 1.6.0
*/
Modified: accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/ListLexicoder.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/ListLexicoder.java?rev=1482535&r1=1482534&r2=1482535&view=diff
==============================================================================
--- accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/ListLexicoder.java (original)
+++ accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/ListLexicoder.java Tue May 14 19:38:03 2013
@@ -25,10 +25,10 @@ import java.util.ArrayList;
import java.util.List;
/**
+ * A lexicoder to encode/decode a Java List to/from a byte array where the concatenation of each encoded element sorts lexicographically.
*
* @since 1.6.0
*/
-
public class ListLexicoder<LT> implements Lexicoder<List<LT>> {
private Lexicoder<LT> lexicoder;
@@ -37,6 +37,9 @@ public class ListLexicoder<LT> implement
this.lexicoder = lexicoder;
}
+ /**
+ * @return a byte array containing the concatenation of each element in the list encoded.
+ */
@Override
public byte[] encode(List<LT> v) {
byte[][] encElements = new byte[v.size()][];
@@ -61,5 +64,4 @@ public class ListLexicoder<LT> implement
return ret;
}
-
}
Modified: accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/LongLexicoder.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/LongLexicoder.java?rev=1482535&r1=1482534&r2=1482535&view=diff
==============================================================================
--- accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/LongLexicoder.java (original)
+++ accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/LongLexicoder.java Tue May 14 19:38:03 2013
@@ -17,8 +17,8 @@
package org.apache.accumulo.core.client.lexicoder;
/**
- * Signed long encoder. The lexicographic encoding sorts Long.MIN_VALUE first and Long.MAX_VALUE last. The lexicographic encoding sorts -2l before -1l. It
- * corresponds to the sort order of Long.
+ * Signed long lexicoder. The encoding sorts Long.MIN_VALUE first and Long.MAX_VALUE last. The encoding sorts -2l before -1l. It corresponds to the native Java
+ * sort order of Long.
*
* @since 1.6.0
*/
Modified: accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/PairLexicoder.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/PairLexicoder.java?rev=1482535&r1=1482534&r2=1482535&view=diff
==============================================================================
--- accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/PairLexicoder.java (original)
+++ accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/PairLexicoder.java Tue May 14 19:38:03 2013
@@ -24,6 +24,25 @@ import static org.apache.accumulo.core.c
import org.apache.accumulo.core.util.ComparablePair;
/**
+ * This class is a lexicoder that sorts a ComparablePair. Each item in the pair is encoded with the given lexicoder and concatenated together.
+ * This makes it easy to construct a sortable key based on two components. There are many examples of this- but a key/value relationship is a great one.
+ *
+ * If we decided we wanted a two-component key where the first component is a string and the second component a date which is reverse sorted, we can do so with
+ * the following example:
+ *
+ * <pre>
+ * {@code
+ * StringLexicoder stringEncoder = new StringLexicoder();
+ * ReverseLexicoder<Date> dateEncoder = new ReverseLexicoder<Date>(new DateLexicoder());
+ * PairLexicoder<String,Date> pairLexicoder = new PairLexicoder<String,Date>(stringEncoder, dateEncoder);
+ * byte[] pair1 = pairLexicoder.encode(new ComparablePair<String,Date>("com.google", new Date()));
+ * byte[] pair2 = pairLexicoder.encode(new ComparablePair<String,Date>("com.google", new Date(System.currentTimeMillis() + 500)));
+ * byte[] pair3 = pairLexicoder.encode(new ComparablePair<String,Date>("org.apache", new Date(System.currentTimeMillis() + 1000)));
+ * }
+ * </pre>
+ *
+ * In the example, pair2 will be sorted before pair1. pair3 will occur last since 'org' is sorted after 'com'. If we just used a {@link DateLexicoder} instead
+ * of a {@link ReverseLexicoder}, pair1 would have been sorted before pair2.
*
* @since 1.6.0
*/
Modified: accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/ReverseLexicoder.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/ReverseLexicoder.java?rev=1482535&r1=1482534&r2=1482535&view=diff
==============================================================================
--- accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/ReverseLexicoder.java (original)
+++ accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/ReverseLexicoder.java Tue May 14 19:38:03 2013
@@ -20,6 +20,9 @@ import static org.apache.accumulo.core.c
import static org.apache.accumulo.core.client.lexicoder.impl.ByteUtils.unescape;
/**
+ * A lexicoder that flips the sort order from another lexicoder. If this is applied to {@link DateLexicoder}, the most recent date will be sorted first and the
+ * oldest date will be sorted last. If it's applied to {@link LongLexicoder}, the Long.MAX_VALUE will be sorted first and Long.MIN_VALUE will be sorted last,
+ * etc...
*
* @since 1.6.0
*/
@@ -28,6 +31,10 @@ public class ReverseLexicoder<T> impleme
private Lexicoder<T> lexicoder;
+ /**
+ * @param lexicoder
+ * The lexicoder who's sort order will be flipped.
+ */
public ReverseLexicoder(Lexicoder<T> lexicoder) {
this.lexicoder = lexicoder;
}
Modified: accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/StringLexicoder.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/StringLexicoder.java?rev=1482535&r1=1482534&r2=1482535&view=diff
==============================================================================
--- accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/StringLexicoder.java (original)
+++ accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/StringLexicoder.java Tue May 14 19:38:03 2013
@@ -19,6 +19,8 @@ package org.apache.accumulo.core.client.
import java.io.UnsupportedEncodingException;
/**
+ * This lexicoder encodes/decodes a given String to/from bytes without further processing. It can be combined with other encoders like the
+ * {@link ReverseLexicoder} to flip the default sort order.
*
* @since 1.6.0
*/
Modified: accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/TextLexicoder.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/TextLexicoder.java?rev=1482535&r1=1482534&r2=1482535&view=diff
==============================================================================
--- accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/TextLexicoder.java (original)
+++ accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/TextLexicoder.java Tue May 14 19:38:03 2013
@@ -20,6 +20,8 @@ import org.apache.accumulo.core.util.Tex
import org.apache.hadoop.io.Text;
/**
+ * A lexicoder that preserves a Text's native sort order. It can be combined with other encoders like the {@link ReverseLexicoder} to flip the default sort
+ * order.
*
* @since 1.6.0
*/
Modified: accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/UIntegerLexicoder.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/UIntegerLexicoder.java?rev=1482535&r1=1482534&r2=1482535&view=diff
==============================================================================
--- accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/UIntegerLexicoder.java (original)
+++ accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/UIntegerLexicoder.java Tue May 14 19:38:03 2013
@@ -17,6 +17,8 @@
package org.apache.accumulo.core.client.lexicoder;
/**
+ * A lexicoder for an unsigned integer. It sorts 0 before -1 and does not preserve the native sort order of a Java integer because Java does not contain an
+ * unsigned integer. If Java had an unsigned integer type, this would correspond to its sort order.
*
* @since 1.6.0
*/
Modified: accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/ULongLexicoder.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/ULongLexicoder.java?rev=1482535&r1=1482534&r2=1482535&view=diff
==============================================================================
--- accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/ULongLexicoder.java (original)
+++ accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/ULongLexicoder.java Tue May 14 19:38:03 2013
@@ -17,7 +17,7 @@
package org.apache.accumulo.core.client.lexicoder;
/**
- * Unsigned long encoder. The lexicographic encoding sorts first 0l and -1l last. This encoding does not correspond to the sort of Long because it does not
+ * Unsigned long lexicoder. The lexicographic encoding sorts first 0l and -1l last. This encoding does not correspond to the sort of Long because it does not
* consider the sign bit. If Java had an unsigned long type, this encoder would correspond to its sort order.
*
* @since 1.6.0
Modified: accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/UUIDLexicoder.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/UUIDLexicoder.java?rev=1482535&r1=1482534&r2=1482535&view=diff
==============================================================================
--- accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/UUIDLexicoder.java (original)
+++ accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/UUIDLexicoder.java Tue May 14 19:38:03 2013
@@ -26,12 +26,16 @@ import org.apache.accumulo.core.client.l
import org.apache.accumulo.core.iterators.ValueFormatException;
/**
+ * A lexicoder for a UUID that maintains its lexicographic sorting order.
*
* @since 1.6.0
*/
-
public class UUIDLexicoder implements Lexicoder<UUID> {
+ /**
+ * @see <a href="http://www.ietf.org/rfc/rfc4122.txt"> RFC 4122: A Universally Unique IDentifier (UUID) URN Namespace</a>, "Rules for Lexical Equivalence" in
+ * Section 3.
+ */
@Override
public byte[] encode(UUID uuid) {
try {
Modified: accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/impl/ByteUtils.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/impl/ByteUtils.java?rev=1482535&r1=1482534&r2=1482535&view=diff
==============================================================================
--- accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/impl/ByteUtils.java (original)
+++ accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/impl/ByteUtils.java Tue May 14 19:38:03 2013
@@ -54,7 +54,10 @@ public class ByteUtils {
return ret;
}
-
+
+ /**
+ * Unescapes 0x00 0x01 0x01 with 0x00 and 0x01 0x01 0x2 with 0x01
+ */
public static byte[] unescape(byte[] in) {
int escapeCount = 0;
for (int i = 0; i < in.length; i++) {
@@ -82,7 +85,10 @@ public class ByteUtils {
return ret;
}
-
+
+ /**
+ * Splits a byte array by 0x00
+ */
public static byte[][] split(byte[] data) {
ArrayList<Integer> offsets = new ArrayList<Integer>();
@@ -105,7 +111,10 @@ public class ByteUtils {
return ret;
}
-
+
+ /**
+ * Concatenates byte arrays with 0x00 as a delimiter
+ */
public static byte[] concat(byte[]... fields) {
int len = 0;
for (byte[] field : fields) {
Modified: accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/impl/FixedByteArrayOutputStream.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/impl/FixedByteArrayOutputStream.java?rev=1482535&r1=1482534&r2=1482535&view=diff
==============================================================================
--- accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/impl/FixedByteArrayOutputStream.java (original)
+++ accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/lexicoder/impl/FixedByteArrayOutputStream.java Tue May 14 19:38:03 2013
@@ -19,6 +19,9 @@ package org.apache.accumulo.core.client.
import java.io.IOException;
import java.io.OutputStream;
+/**
+ * Uses a fixed length array and will not grow in size dynamically like the {@link java.io.ByteArrayOutputStream}.
+ */
public class FixedByteArrayOutputStream extends OutputStream {
private int i;
Modified: accumulo/trunk/core/src/test/java/org/apache/accumulo/core/client/lexicoder/BigIntegerLexicoderTest.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/core/src/test/java/org/apache/accumulo/core/client/lexicoder/BigIntegerLexicoderTest.java?rev=1482535&r1=1482534&r2=1482535&view=diff
==============================================================================
--- accumulo/trunk/core/src/test/java/org/apache/accumulo/core/client/lexicoder/BigIntegerLexicoderTest.java (original)
+++ accumulo/trunk/core/src/test/java/org/apache/accumulo/core/client/lexicoder/BigIntegerLexicoderTest.java Tue May 14 19:38:03 2013
@@ -16,7 +16,10 @@
*/
package org.apache.accumulo.core.client.lexicoder;
+import org.apache.accumulo.core.util.ComparablePair;
+
import java.math.BigInteger;
+import java.util.Date;
/**
*
@@ -30,6 +33,7 @@ public class BigIntegerLexicoderTest ext
new BigInteger("-2147483647"), new BigInteger("-2147483649"), new BigInteger("32768"), new BigInteger("32769"), new BigInteger("32767"),
new BigInteger("-32768"), new BigInteger("-32769"), new BigInteger("-32767"), new BigInteger("126"), new BigInteger("127"), new BigInteger("128"),
new BigInteger("129"), new BigInteger("-126"), new BigInteger("-127"), new BigInteger("-128"), new BigInteger("-129"));
-
+
+
}
}