@Test public void testClusterKeyIsNotSuppressed() { BoundValueSuppressor suppressor = new SuppressClusteringAndRegular(); Optional<String> result = suppressor.suppress(CLUSTER_KEY_COLUMN, valueMock); assertThat(result).contains("<int>"); verifyZeroInteractions(valueMock); }
@Override public Optional<String> suppress(ColumnSpecification column, ByteBuffer value) { return isClusteringOrRegular(column) ? Optional.of(suppressWithType(column)) : Optional.empty(); }
SuppressClusteringAndRegular extends AbstractSuppressor { @Override public Optional<String> suppress(ColumnSpecification column, ByteBuffer value) { return isClusteringOrRegular(column) ? Optional.of(suppressWithType(column)) : Optional.empty(); } }
SuppressClusteringAndRegular extends AbstractSuppressor { @Override public Optional<String> suppress(ColumnSpecification column, ByteBuffer value) { return isClusteringOrRegular(column) ? Optional.of(suppressWithType(column)) : Optional.empty(); }  }
SuppressClusteringAndRegular extends AbstractSuppressor { @Override public Optional<String> suppress(ColumnSpecification column, ByteBuffer value) { return isClusteringOrRegular(column) ? Optional.of(suppressWithType(column)) : Optional.empty(); }  @Override Optional<String> suppress(ColumnSpecification column, ByteBuffer value); }
SuppressClusteringAndRegular extends AbstractSuppressor { @Override public Optional<String> suppress(ColumnSpecification column, ByteBuffer value) { return isClusteringOrRegular(column) ? Optional.of(suppressWithType(column)) : Optional.empty(); }  @Override Optional<String> suppress(ColumnSpecification column, ByteBuffer value);  }