Return-Path: X-Original-To: apmail-phoenix-commits-archive@minotaur.apache.org Delivered-To: apmail-phoenix-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8545210D29 for ; Tue, 14 Jan 2014 20:16:10 +0000 (UTC) Received: (qmail 32286 invoked by uid 500); 14 Jan 2014 20:16:08 -0000 Delivered-To: apmail-phoenix-commits-archive@phoenix.apache.org Received: (qmail 32227 invoked by uid 500); 14 Jan 2014 20:16:07 -0000 Mailing-List: contact commits-help@phoenix.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.incubator.apache.org Delivered-To: mailing list commits@phoenix.incubator.apache.org Received: (qmail 32146 invoked by uid 99); 14 Jan 2014 20:16:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jan 2014 20:16:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jan 2014 20:16:02 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id ECB2123889D5; Tue, 14 Jan 2014 20:15:41 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1558181 [4/10] - in /incubator/phoenix/site/publish: ./ language/ language/images/ Date: Tue, 14 Jan 2014 20:15:40 -0000 To: commits@phoenix.incubator.apache.org From: mujtaba@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140114201541.ECB2123889D5@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: incubator/phoenix/site/publish/integration.html URL: http://svn.apache.org/viewvc/incubator/phoenix/site/publish/integration.html?rev=1558181&r1=1558180&r2=1558181&view=diff ============================================================================== --- incubator/phoenix/site/publish/integration.html (original) +++ incubator/phoenix/site/publish/integration.html Tue Jan 14 20:15:38 2014 @@ -1,7 +1,7 @@ @@ -48,41 +48,41 @@ @@ -123,31 +123,31 @@ @@ -155,43 +155,43 @@ @@ -199,13 +199,13 @@ @@ -221,7 +221,7 @@

Back to top

-

Version: 2.2.3. Last Published: 2014-01-13.

+

Version: 2.2.3. Last Published: 2014-01-14.

Modified: incubator/phoenix/site/publish/issue-tracking.html URL: http://svn.apache.org/viewvc/incubator/phoenix/site/publish/issue-tracking.html?rev=1558181&r1=1558180&r2=1558181&view=diff ============================================================================== --- incubator/phoenix/site/publish/issue-tracking.html (original) +++ incubator/phoenix/site/publish/issue-tracking.html Tue Jan 14 20:15:38 2014 @@ -1,7 +1,7 @@ @@ -48,41 +48,41 @@ @@ -123,31 +123,31 @@ @@ -155,43 +155,43 @@ @@ -199,13 +199,13 @@ @@ -221,7 +221,7 @@

Back to top

-

Version: 2.2.3. Last Published: 2014-01-13.

+

Version: 2.2.3. Last Published: 2014-01-14.

Modified: incubator/phoenix/site/publish/issues.html URL: http://svn.apache.org/viewvc/incubator/phoenix/site/publish/issues.html?rev=1558181&r1=1558180&r2=1558181&view=diff ============================================================================== --- incubator/phoenix/site/publish/issues.html (original) +++ incubator/phoenix/site/publish/issues.html Tue Jan 14 20:15:38 2014 @@ -1,7 +1,7 @@ @@ -48,41 +48,41 @@ @@ -124,31 +124,31 @@ @@ -156,43 +156,43 @@ @@ -200,13 +200,13 @@ @@ -222,7 +222,7 @@

Back to top

-

Version: 2.2.3. Last Published: 2014-01-13.

+

Version: 2.2.3. Last Published: 2014-01-14.

Added: incubator/phoenix/site/publish/language/datatypes.html URL: http://svn.apache.org/viewvc/incubator/phoenix/site/publish/language/datatypes.html?rev=1558181&view=auto ============================================================================== --- incubator/phoenix/site/publish/language/datatypes.html (added) +++ incubator/phoenix/site/publish/language/datatypes.html Tue Jan 14 20:15:38 2014 @@ -0,0 +1,734 @@ + + + + + + + + Data Types | Apache Phoenix + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+ + + +

Index

+ + + + + + +
+ + INTEGER Type
+ + UNSIGNED_INT Type
+ + BIGINT Type
+ + UNSIGNED_LONG Type
+ + TINYINT Type
+ + UNSIGNED_TINYINT Type
+ + SMALLINT Type
+
+ + UNSIGNED_SMALLINT Type
+ + FLOAT Type
+ + UNSIGNED_FLOAT Type
+ + DOUBLE Type
+ + UNSIGNED_DOUBLE Type
+ + DECIMAL Type
+ + BOOLEAN Type
+
+ + TIME Type
+ + DATE Type
+ + TIMESTAMP Type
+ + VARCHAR Type
+ + CHAR Type
+ + BINARY Type
+ + VARBINARY Type
+
+ + + +

INTEGER Type

+ +
+INTEGER
+
+
+INTEGER +
+ + +

Possible values: -2147483648 to 2147483647.

Mapped to java.lang.Integer. The binary representation is a 4 byte integer with the sign bit flipped (so that negative values sorts before positive values).

+

Example:

+

INTEGER

+ +

UNSIGNED_INT Type

+ +
+UNSIGNED_INT
+
+
+UNSIGNED_INT +
+ + +

Possible values: 0 to 2147483647. Mapped to java.lang.Integer. The binary representation is a 4 byte integer, matching the HBase Bytes.toBytes(int) method. The purpose of this type is to map to existing HBase data that was serialized using this HBase utility method. If that is not the case, use the regular signed type instead.

+

Example:

+

UNSIGNED_INT

+ +

BIGINT Type

+ +
+BIGINT
+
+
+BIGINT +
+ + +

Possible values: -9223372036854775807 to 9223372036854775807. Mapped to java.lang.Long. The binary representation is an 8 byte long with the sign bit flipped (so that negative values sorts before positive values).

+

Example:

+

BIGINT

+ +

UNSIGNED_LONG Type

+ +
+UNSIGNED_LONG
+
+
+UNSIGNED_LONG +
+ + +

Possible values: 0 to 9223372036854775807. Mapped to java.lang.Long. The binary representation is an 8 byte integer, matching the HBase Bytes.toBytes(long) method. The purpose of this type is to map to existing HBase data that was serialized using this HBase utility method. If that is not the case, use the regular signed type instead.

+

Example:

+

UNSIGNED_LONG

+ +

TINYINT Type

+ +
+TINYINT
+
+
+TINYINT +
+ + +

Possible values: -128 to 127. Mapped to java.lang.Byte. The binary representation is a single byte, with the sign bit flipped (so that negative values sorts before positive values).

+

Example:

+

TINYINT

+ +

UNSIGNED_TINYINT Type

+ +
+UNSIGNED_TINYINT
+
+
+UNSIGNED_TINYINT +
+ + +

Possible values: 0 to 127. Mapped to java.lang.Byte. The binary representation is a single byte, matching the HBase Bytes.toBytes(byte) method. The purpose of this type is to map to existing HBase data that was serialized using this HBase utility method. If that is not the case, use the regular signed type instead.

+

Example:

+

UNSIGNED_TINYINT

+ +

SMALLINT Type

+ +
+SMALLINT
+
+
+SMALLINT +
+ + +

Possible values: -32768 to 32767. Mapped to java.lang.Short. The binary representation is a 2 byte short with the sign bit flipped (so that negative values sort before positive values).

+

Example:

+

SMALLINT

+ +

UNSIGNED_SMALLINT Type

+ +
+UNSIGNED_SMALLINT
+
+
+UNSIGNED_SMALLINT +
+ + +

Possible values: 0 to 32767. Mapped to java.lang.Short. The binary representation is an 2 byte integer, matching the HBase Bytes.toBytes(short) method. The purpose of this type is to map to existing HBase data that was serialized using this HBase utility method. If that is not the case, use the regular signed type instead.

+

Example:

+

UNSIGNED_SMALLINT

+ +

FLOAT Type

+ +
+FLOAT
+
+
+FLOAT +
+ + +

Possible values: -3.402823466 E + 38 to 3.402823466 E + 38. Mapped to java.lang.Float. The binary representation is an 4 byte float with the sign bit flipped (so that negative values sort before positive values).

+

Example:

+

FLOAT

+ +

UNSIGNED_FLOAT Type

+ +
+UNSIGNED_FLOAT
+
+
+UNSIGNED_FLOAT +
+ + +

Possible values: 0 to 3.402823466 E + 38. Mapped to java.lang.Float. The binary representation is an 4 byte float matching the HBase Bytes.toBytes(float) method. The purpose of this type is to map to existing HBase data that was serialized using this HBase utility method. If that is not the case, use the regular signed type instead.

+

Example:

+

UNSIGNED_FLOAT

+ +

DOUBLE Type

+ +
+DOUBLE
+
+
+DOUBLE +
+ + +

Possible values: -1.7976931348623158 E + 308 to 1.7976931348623158 E + 308. Mapped to java.lang.Double. The binary representation is an 8 byte double with the sign bit flipped (so that negative values sort before positive value).

+

Example:

+

DOUBLE

+ +

UNSIGNED_DOUBLE Type

+ +
+UNSIGNED_DOUBLE
+
+
+UNSIGNED_DOUBLE +
+ + +

Possible values: 0 to  1.7976931348623158 E + 308. Mapped to java.lang.Double. The binary representation is an 8 byte double matching the HBase Bytes.toBytes(double) method. The purpose of this type is to map to existing HBase data that was serialized using this HBase utility method. If that is not the case, use the regular signed type instead.

+

Example:

+

UNSIGNED_DOUBLE

+ +

DECIMAL Type

+ +
+DECIMAL
+
+
+DECIMAL +
+ + +

Data type with fixed precision and scale. The maximum precision is 18 digits. Mapped to java.math.BigDecimal. The binary representation is binary comparable, variable length format. When used in a row key, it is terminated with a null byte unless it is the last column.

+

Example:

+

DECIMAL

+ +

BOOLEAN Type

+ +
+BOOLEAN
+
+
+BOOLEAN +
+ + +

Possible values: TRUE and FALSE.

Mapped to java.lang.Boolean. The binary representation is a single byte with 0 for false and 1 for true

+

Example:

+

BOOLEAN

+ +

TIME Type

+ +
+TIME
+
+
+TIME +
+ + +

The time data type. The format is yyyy-MM-dd hh:mm:ss, with both the date and time parts maintained. Mapped to java.sql.Time. The binary representation is an 8 byte long (the number of milliseconds from the epoch).

+

Example:

+

TIME

+ +

DATE Type

+ +
+DATE
+
+
+DATE +
+ + +

The date data type. The format is yyyy-MM-dd hh:mm:ss, with both the date and time parts maintained to a millisecond accuracy. Mapped to java.sql.Date. The binary representation is an 8 byte long (the number of milliseconds from the epoch).

+

Example:

+

DATE

+ +

TIMESTAMP Type

+ +
+TIMESTAMP
+
+
+TIMESTAMP +
+ + +

The timestamp data type. The format is yyyy-MM-dd hh:mm:ss[.nnnnnnnnn]. Mapped to java.sql.Timestamp with an internal representation of the number of nanos from the epoch. The binary representation is 12 bytes: an 8 byte long for the epoch time plus a 4 byte integer for the nanos.

+

Example:

+

TIMESTAMP

+ +

VARCHAR Type

+ +
+VARCHAR  [ ( precisionInt ) ]
+
+
+
VARCHAR
 
( precisionInt )
+
+ + +

A variable length String with an optional max byte length. The binary representation is UTF8 matching the HBase Bytes.toBytes(String) method. When used in a row key, it is terminated with a null byte unless it is the last column.

Mapped to java.lang.String.

+

Example:

+

VARCHAR
VARCHAR(255)

+ +

CHAR Type

+ +
+CHAR ( precisionInt )
+
+
+
CHAR ( precisionInt )
+
+ + +

A fixed length String with single-byte characters. The binary representation is UTF8 matching the HBase Bytes.toBytes(String) method.

Mapped to java.lang.String.

+

Example:

+

CHAR(10)

+ +

BINARY Type

+ +
+BINARY ( precisionInt )
+
+
+
BINARY ( precisionInt )
+
+ + +

Raw fixed length byte array.

Mapped to byte[].

+

Example:

+

BINARY

+ +

VARBINARY Type

+ +
+VARBINARY
+
+
+VARBINARY +
+ + +

Raw variable length byte array.

Mapped to byte[].

+

Example:

+

VARBINARY

+ + + + +
+
+
+
+ +
+ + + + +
+
+
+

Back to top

+ +

Version: 2.2.3. Last Published: 2014-01-14.

+
+
+
+ + + + + + + + + + + + + + + + + + +