@Override public boolean exists(EnrichmentKey key, HBaseContext context, boolean logAccess) throws IOException { return context.getTable().exists(converter.toGet(getColumnFamily(context), key)); }
@Override public Boolean run(HTableInterface table) throws IOException, InterruptedException { return table.exists(get); } });
List<Get> gets = new ArrayList<Get>(); for (String rowKey : rowKeys) { Get get = new Get(Bytes.toBytes(rowKey)); gets.add(get); } Set<String> newRows = new HashSet<String>(); Boolean[] results; HTableInterface table = getHTableInterface(tableName); results = table.exists(gets);
@Override public Boolean[] exists(List<Get> gets) throws IOException { if (tx == null) { throw new IOException("Transaction not started"); } List<Get> transactionalizedGets = new ArrayList<Get>(gets.size()); for (Get get : gets) { transactionalizedGets.add(transactionalizeAction(get)); } return hTable.exists(transactionalizedGets); }
@Override public boolean exists(Get get) throws IOException { if (tx == null) { throw new IOException("Transaction not started"); } return hTable.exists(transactionalizeAction(get)); }
@Override public Boolean[] exists(List<Get> gets) throws IOException { if (tx == null) { throw new IOException("Transaction not started"); } List<Get> transactionalizedGets = new ArrayList<Get>(gets.size()); for (Get get : gets) { transactionalizedGets.add(transactionalizeAction(get)); } return hTable.exists(transactionalizedGets); }
@Override public Boolean[] exists(List<Get> gets) throws IOException { if (tx == null) { throw new IOException("Transaction not started"); } List<Get> transactionalizedGets = new ArrayList<>(gets.size()); for (Get get : gets) { transactionalizedGets.add(transactionalizeAction(get)); } return hTable.exists(transactionalizedGets); }
@Override public boolean exists(Get get) throws IOException { if (tx == null) { throw new IOException("Transaction not started"); } return hTable.exists(transactionalizeAction(get)); }
@Override public Boolean[] exists(List<Get> gets) throws IOException { if (tx == null) { throw new IOException("Transaction not started"); } List<Get> transactionalizedGets = new ArrayList<Get>(gets.size()); for (Get get : gets) { transactionalizedGets.add(transactionalizeAction(get)); } return hTable.exists(transactionalizedGets); }
@Override public boolean exists(Get get) throws IOException { if (tx == null) { throw new IOException("Transaction not started"); } return hTable.exists(transactionalizeAction(get)); }
@Override public boolean exists(Get get) throws IOException { if (tx == null) { throw new IOException("Transaction not started"); } return hTable.exists(transactionalizeAction(get)); }
@Override public boolean exists(Get get) throws IOException { if (tx == null) { throw new IOException("Transaction not started"); } return hTable.exists(transactionalizeAction(get)); }
@Override public boolean exists(Get get) throws IOException { if (tx == null) { throw new IOException("Transaction not started"); } return hTable.exists(transactionalizeAction(get)); }
@Override public boolean exists(Get get) throws IOException { if (tx == null) { throw new IOException("Transaction not started"); } return hTable.exists(transactionalizeAction(get)); }
@Override public Boolean[] exists(List<Get> gets) throws IOException { if (tx == null) { throw new IOException("Transaction not started"); } List<Get> transactionalizedGets = new ArrayList<Get>(gets.size()); for (Get get : gets) { transactionalizedGets.add(transactionalizeAction(get)); } return hTable.exists(transactionalizedGets); }
@Override public boolean exists(Get get) throws IOException { checkState(); return table.exists(get); }
@Override public Boolean[] exists(List<Get> gets) throws IOException { if (tx == null) { throw new IOException("Transaction not started"); } List<Get> transactionalizedGets = new ArrayList<Get>(gets.size()); for (Get get : gets) { transactionalizedGets.add(transactionalizeAction(get)); } return hTable.exists(transactionalizedGets); }
@Override public boolean exists(Get get) throws IOException { if (tx == null) { throw new IOException("Transaction not started"); } return hTable.exists(transactionalizeAction(get)); }
@Override public Boolean[] exists(List<Get> gets) throws IOException { if (tx == null) { throw new IOException("Transaction not started"); } List<Get> transactionalizedGets = new ArrayList<>(gets.size()); for (Get get : gets) { transactionalizedGets.add(transactionalizeAction(get)); } return hTable.exists(transactionalizedGets); }
@Override public boolean exists(Get get) throws IOException { addAuthInfo(get); return delegate.exists(get); }