Package com.nearinfinity.honeycomb.hbase.rowkey

Examples of com.nearinfinity.honeycomb.hbase.rowkey.IndexRowKeyBuilder


            this.order = order;
        }

        @Override
        public RowKey next() {
            IndexRowKeyBuilder builder;
            Row row = rows.next();
            builder = IndexRowKeyBuilder
                    .newBuilder(tableIds.next(), indexIds.next())
                    .withRow(row,
                            indexSchemas.next().getIndexName(),
                            tableSchema)
                    .withUUID(row.getUUID());

            return builder.withSortOrder(order.next()).build();
        }
View Full Code Here


        for (IndexSchema index : indices) {
            long indexId = store.getIndexId(tableId, index.getIndexName());
            TableSchema schema = store.getSchema(tableId);

            IndexRowKeyBuilder builder = IndexRowKeyBuilder
                    .newBuilder(tableId, indexId)
                    .withUUID(row.getUUID())
                    .withRow(row, index.getIndexName(), schema);
            action.execute(builder);
        }
View Full Code Here

TOP

Related Classes of com.nearinfinity.honeycomb.hbase.rowkey.IndexRowKeyBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.