private List<PTable> getClientSideMaintainedIndexes(TableRef tableRef) { PTable table = tableRef.getTable(); if (!table.getIndexes().isEmpty()) { List<PTable> nonDisabledIndexes = Lists.newArrayListWithExpectedSize(table.getIndexes().size()); for (PTable index : table.getIndexes()) { if (index.getIndexState() != PIndexState.DISABLE && isMaintainedOnClient(index)) { nonDisabledIndexes.add(index); } } return nonDisabledIndexes; } return Collections.emptyList(); }
if (otherTableRefs.isEmpty() || isMaintainedOnClient(table)) { mutations.put(rowKeyPtr, new RowMutationState(PRow.DELETE_MARKER, 0, statement.getConnection().getStatementExecutionCounter(), NULL_ROWTIMESTAMP_INFO, null));
private List<PTable> getClientSideMaintainedIndexes(TableRef tableRef) { PTable table = tableRef.getTable(); if (!table.getIndexes().isEmpty()) { List<PTable> nonDisabledIndexes = Lists.newArrayListWithExpectedSize(table.getIndexes().size()); for (PTable index : table.getIndexes()) { if (index.getIndexState() != PIndexState.DISABLE && isMaintainedOnClient(index)) { nonDisabledIndexes.add(index); } } return nonDisabledIndexes; } return Collections.emptyList(); }
private List<PTable> getClientSideMaintainedIndexes(TableRef tableRef) { PTable table = tableRef.getTable(); if (!table.getIndexes().isEmpty()) { List<PTable> nonDisabledIndexes = Lists.newArrayListWithExpectedSize(table.getIndexes().size()); for (PTable index : table.getIndexes()) { if (index.getIndexState() != PIndexState.DISABLE && isMaintainedOnClient(index)) { nonDisabledIndexes.add(index); } } return nonDisabledIndexes; } return Collections.emptyList(); }
if (otherTableRefs.isEmpty() || isMaintainedOnClient(table)) { mutations.put(rowKeyPtr, new RowMutationState(PRow.DELETE_MARKER, 0, statement.getConnection().getStatementExecutionCounter(), NULL_ROWTIMESTAMP_INFO, null));
if (otherTableRefs.isEmpty() || isMaintainedOnClient(table)) { mutations.put(rowKeyPtr, new RowMutationState(PRow.DELETE_MARKER, 0, statement.getConnection().getStatementExecutionCounter(), NULL_ROWTIMESTAMP_INFO, null));