Package org.kiji.schema

Examples of org.kiji.schema.EntityId


            mapTypeFamilies, groupTypeColumns, mMaxVersions, mMinTimestamp, mMaxTimestamp);

        final KijiTableReader reader = table.openTableReader();
        try {
          // Scan from startRow to limitRow.
          final EntityId startRow = (mStartRowFlag != null)
              ? ToolUtils.createEntityIdFromUserInputs(mStartRowFlag, tableLayout)
              : null;
          final EntityId limitRow = (mLimitRowFlag != null)
              ? ToolUtils.createEntityIdFromUserInputs(mLimitRowFlag, tableLayout)
              : null;
          getPrintStream().println("Scanning kiji table: " + argURI);

          if (startRow != null && hasVerboseDebug()) {
            getPrintStream().printf("\tstart-row=%s%s%n", ToolUtils.HBASE_ROW_KEY_SPEC_PREFIX,
                Bytes.toStringBinary(startRow.getHBaseRowKey()));
          }
          if (limitRow != null && hasVerboseDebug()) {
            getPrintStream().printf("\tlimit-row=%s%s%n", ToolUtils.HBASE_ROW_KEY_SPEC_PREFIX,
                Bytes.toStringBinary(limitRow.getHBaseRowKey()));
          }

          return scan(reader, request, startRow, limitRow, mapTypeFamilies, groupTypeColumns);
        } finally {
          ResourceUtils.closeOrLog(reader);
View Full Code Here


      } else {
        // Delete is targeting one specific row:
        final KijiTable table = kiji.openTable(mTargetURI.getTable());
        try {
          final EntityId entityId =
              ToolUtils.createEntityIdFromUserInputs(mEntityIdFlag, table.getLayout());
          return deleteFromRow(table, entityId, columns, mTimestampMode, mTimestamp);
        } finally {
          table.release();
        }
View Full Code Here

TOP

Related Classes of org.kiji.schema.EntityId

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.