Package org.apache.hadoop.hive.common

Examples of org.apache.hadoop.hive.common.ValidTxnListImpl


    // No-op
  }

  @Override
  public ValidTxnList getValidTxns() throws LockException {
    return new ValidTxnListImpl();
  }
View Full Code Here


      // Based on the split we're passed we go instantiate the real reader and then iterate on it
      // until it finishes.
      AcidInputFormat aif =
          instantiate(AcidInputFormat.class, jobConf.get(INPUT_FORMAT_CLASS_NAME));
      ValidTxnList txnList =
          new ValidTxnListImpl(jobConf.get(ValidTxnList.VALID_TXNS_KEY));

      AcidInputFormat.RawReader<V> reader =
          aif.getRawReader(jobConf, jobConf.getBoolean(IS_MAJOR, false), split.getBucket(),
              txnList, split.getBaseDir(), split.getDeltaDirs());
      RecordIdentifier identifier = reader.createKey();
View Full Code Here

      bucket = (int) split.getStart();
      reader = null;
    }
    String txnString = conf.get(ValidTxnList.VALID_TXNS_KEY,
                                Long.MAX_VALUE + ":");
    ValidTxnList validTxnList = new ValidTxnListImpl(txnString);
    final OrcRawRecordMerger records =
        new OrcRawRecordMerger(conf, true, reader, split.isOriginal(), bucket,
            validTxnList, readOptions, deltas);
    return new RowReader<OrcStruct>() {
      OrcStruct innerRecord = records.createValue();
View Full Code Here

              .initialCapacity(cacheStripeDetailsSize).softValues().build();
        }
      }
      String value = conf.get(ValidTxnList.VALID_TXNS_KEY,
                              Long.MAX_VALUE + ":");
      transactionList = new ValidTxnListImpl(value);
    }
View Full Code Here

    long[] exceptions = new long[open.size()];
    int i = 0;
    for(long txn: open) {
      exceptions[i++] = txn;
    }
    return new ValidTxnListImpl(exceptions, highWater);
  }
View Full Code Here

    long[] exceptions = new long[open.size()];
    int i = 0;
    for(long txn: open) {
      exceptions[i++] = txn;
    }
    return new ValidTxnListImpl(exceptions, highWater);
  }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hive.common.ValidTxnListImpl

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.