code: static SlicePredicate slicePredicateColNames(Collection<byte[]> colNames) {
          SlicePredicate slicePred = new SlicePredicate();
          for (byte[] colName : colNames) {
              slicePred.addToColumn_names(ByteBuffer.wrap(colName));
          }
          return slicePred;
      }
docs: Create a SlicePredicate that selects the given column names.
  
  @param colNames  A collection of column names as byte[]s.
  @return          SlicePredicate that selects the given column names only.