Repository: phoenix
Updated Branches:
  refs/heads/master 4564fc57f -> 612163cfb


PHOENIX-4855 (addendum) Fix compilation issues, bad class names.


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/612163cf
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/612163cf
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/612163cf

Branch: refs/heads/master
Commit: 612163cfb4e3f0ddbe8c95883121812b36dc889d
Parents: 4564fc5
Author: Josh Elser <[email protected]>
Authored: Fri Oct 5 11:16:08 2018 -0400
Committer: Josh Elser <[email protected]>
Committed: Fri Oct 5 11:16:08 2018 -0400

----------------------------------------------------------------------
 .../phoenix/jdbc/PhoenixDatabaseMetaData.java     | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/612163cf/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixDatabaseMetaData.java
----------------------------------------------------------------------
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixDatabaseMetaData.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixDatabaseMetaData.java
index fdbf8ea..44ecae3 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixDatabaseMetaData.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixDatabaseMetaData.java
@@ -1188,41 +1188,41 @@ public class PhoenixDatabaseMetaData implements 
DatabaseMetaData {
                             (short) (pkPos + 1 - (isSalted ? 1 : 0) - 
(tenantColSkipped ? 1 : 0));
                     keySeqBytes = PSmallint.INSTANCE.toBytes(keySeq);
                 }
-                cells.add(KeyValueUtil.newKeyValue(rowKey, TABLE_FAMILY_BYTES, 
KEY_SEQ_BYTES,
+                cells.add(PhoenixKeyValueUtil.newKeyValue(rowKey, 
TABLE_FAMILY_BYTES, KEY_SEQ_BYTES,
                     MetaDataProtocol.MIN_TABLE_TIMESTAMP, keySeqBytes));
                 // PK_NAME
-                cells.add(KeyValueUtil.newKeyValue(rowKey, TABLE_FAMILY_BYTES, 
PK_NAME_BYTES,
+                cells.add(PhoenixKeyValueUtil.newKeyValue(rowKey, 
TABLE_FAMILY_BYTES, PK_NAME_BYTES,
                     MetaDataProtocol.MIN_TABLE_TIMESTAMP, table.getPKName() != 
null
                             ? table.getPKName().getBytes() : 
ByteUtil.EMPTY_BYTE_ARRAY));
                 // ASC_OR_DESC
                 char sortOrder = column.getSortOrder() == SortOrder.ASC ? 'A' 
: 'D';
-                cells.add(KeyValueUtil.newKeyValue(rowKey, TABLE_FAMILY_BYTES,
+                cells.add(PhoenixKeyValueUtil.newKeyValue(rowKey, 
TABLE_FAMILY_BYTES,
                     ASC_OR_DESC_BYTES, MetaDataProtocol.MIN_TABLE_TIMESTAMP,
                     Bytes.toBytes(sortOrder)));
                 // DATA_TYPE
-                cells.add(KeyValueUtil.newKeyValue(rowKey, TABLE_FAMILY_BYTES, 
DATA_TYPE_BYTES,
+                cells.add(PhoenixKeyValueUtil.newKeyValue(rowKey, 
TABLE_FAMILY_BYTES, DATA_TYPE_BYTES,
                     MetaDataProtocol.MIN_TABLE_TIMESTAMP,
                     
PInteger.INSTANCE.toBytes(column.getDataType().getResultSetSqlType())));
                 // TYPE_NAME
-                cells.add(KeyValueUtil.newKeyValue(rowKey, TABLE_FAMILY_BYTES,
+                cells.add(PhoenixKeyValueUtil.newKeyValue(rowKey, 
TABLE_FAMILY_BYTES,
                     Bytes.toBytes(TYPE_NAME), 
MetaDataProtocol.MIN_TABLE_TIMESTAMP,
                     column.getDataType().getSqlTypeNameBytes()));
                 // COLUMN_SIZE
                 cells.add(
-                    KeyValueUtil.newKeyValue(rowKey, TABLE_FAMILY_BYTES, 
COLUMN_SIZE_BYTES,
+                    PhoenixKeyValueUtil.newKeyValue(rowKey, 
TABLE_FAMILY_BYTES, COLUMN_SIZE_BYTES,
                         MetaDataProtocol.MIN_TABLE_TIMESTAMP,
                         column.getMaxLength() != null
                                 ? 
PInteger.INSTANCE.toBytes(column.getMaxLength())
                                 : ByteUtil.EMPTY_BYTE_ARRAY));
                 // TYPE_ID
-                cells.add(KeyValueUtil.newKeyValue(rowKey, TABLE_FAMILY_BYTES,
+                cells.add(PhoenixKeyValueUtil.newKeyValue(rowKey, 
TABLE_FAMILY_BYTES,
                     Bytes.toBytes(TYPE_ID), 
MetaDataProtocol.MIN_TABLE_TIMESTAMP,
                     
PInteger.INSTANCE.toBytes(column.getDataType().getSqlType())));
                 // VIEW_CONSTANT
-                cells.add(KeyValueUtil.newKeyValue(rowKey, TABLE_FAMILY_BYTES, 
VIEW_CONSTANT_BYTES,
+                cells.add(PhoenixKeyValueUtil.newKeyValue(rowKey, 
TABLE_FAMILY_BYTES, VIEW_CONSTANT_BYTES,
                     MetaDataProtocol.MIN_TABLE_TIMESTAMP, 
column.getViewConstant() != null
                             ? column.getViewConstant() : 
ByteUtil.EMPTY_BYTE_ARRAY));
-                Collections.sort(cells, new CellComparator());
+                Collections.sort(cells, new CellComparatorImpl());
                 Tuple tuple = new MultiKeyValueTuple(cells);
                 tuples.add(tuple);
             }

Reply via email to