@Override public TableRef getTargetRef() { return firstPlan.getTargetRef(); }
@Override public TableRef getTargetRef() { return plan.getTargetRef(); }
public boolean checkpointIfNeccessary(MutationPlan plan) throws SQLException { if (!phoenixTransactionContext.isTransactionRunning() || plan.getTargetRef() == null || plan.getTargetRef().getTable() == null || !plan.getTargetRef().getTable().isTransactional()) { return false; } Set<TableRef> sources = plan.getSourceRefs(); if (sources.isEmpty()) { return false; } .getTargetRef() : null; boolean excludeCurrent = false; String targetPhysicalName = plan.getTargetRef().getTable().getPhysicalName().getString(); for (TableRef source : sources) { if (source.getTable().isTransactional() && !source.equals(ignoreForExcludeCurrent)) {
@Override public TableRef getTargetRef() { return firstPlan.getTargetRef(); }
@Override public TableRef getTargetRef() { return firstPlan.getTargetRef(); }
@Override public TableRef getTargetRef() { return plan.getTargetRef(); }
@Override public TableRef getTargetRef() { return plan.getTargetRef(); }
public boolean checkpointIfNeccessary(MutationPlan plan) throws SQLException { if (!phoenixTransactionContext.isTransactionRunning() || plan.getTargetRef() == null || plan.getTargetRef().getTable() == null || !plan.getTargetRef().getTable().isTransactional()) { return false; } Set<TableRef> sources = plan.getSourceRefs(); if (sources.isEmpty()) { return false; } .getTargetRef() : null; boolean excludeCurrent = false; String targetPhysicalName = plan.getTargetRef().getTable().getPhysicalName().getString(); for (TableRef source : sources) { if (source.getTable().isTransactional() && !source.equals(ignoreForExcludeCurrent)) {
public boolean checkpointIfNeccessary(MutationPlan plan) throws SQLException { if (!phoenixTransactionContext.isTransactionRunning() || plan.getTargetRef() == null || plan.getTargetRef().getTable() == null || !plan.getTargetRef().getTable().isTransactional()) { return false; } Set<TableRef> sources = plan.getSourceRefs(); if (sources.isEmpty()) { return false; } .getTargetRef() : null; boolean excludeCurrent = false; String targetPhysicalName = plan.getTargetRef().getTable().getPhysicalName().getString(); for (TableRef source : sources) { if (source.getTable().isTransactional() && !source.equals(ignoreForExcludeCurrent)) {