summaryrefslogtreecommitdiff
path: root/src/main/java/com/amazon/carbonado/raw/DataEncoder.java
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2008-07-28 01:33:49 +0000
committerBrian S. O'Neill <bronee@gmail.com>2008-07-28 01:33:49 +0000
commitcaa97449f6087174ad1970ee8058e164a35f475f (patch)
tree4ce541476825db8bee7bcb1e009afb8c3073f6ef /src/main/java/com/amazon/carbonado/raw/DataEncoder.java
parent9043d4167aeab129be1aa786d47d5559e9045301 (diff)
Remove BigDecimal support until key encoding issues are resolved.
Diffstat (limited to 'src/main/java/com/amazon/carbonado/raw/DataEncoder.java')
-rw-r--r--src/main/java/com/amazon/carbonado/raw/DataEncoder.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/com/amazon/carbonado/raw/DataEncoder.java b/src/main/java/com/amazon/carbonado/raw/DataEncoder.java
index 4b6cab4..990b7e7 100644
--- a/src/main/java/com/amazon/carbonado/raw/DataEncoder.java
+++ b/src/main/java/com/amazon/carbonado/raw/DataEncoder.java
@@ -362,7 +362,7 @@ public class DataEncoder {
* @param dstOffset offset into destination array
* @return amount of bytes written
* @since 1.2
- */
+ * /
public static int encode(BigDecimal value, byte[] dst, int dstOffset) {
if (value == null) {
dst[dstOffset] = NULL_BYTE_HIGH;
@@ -378,13 +378,14 @@ public class DataEncoder {
* @param value BigDecimal value to encode, may be null
* @return amount of bytes needed to encode
* @since 1.2
- */
+ * /
public static int calculateEncodedLength(BigDecimal value) {
if (value == null) {
return 1;
}
return signedVarIntLength(value.scale()) + calculateEncodedLength(value.unscaledValue());
}
+ */
/**
* Encodes the given optional byte array into a variable amount of