/** * {@inheritDoc} */ @Override public List<Partition> get_partitions_by_filter(final String dbName, final String tblName, final String filter, final short maxParts) throws TException { return requestWrapper("get_partitions_by_filter", new Object[]{dbName, tblName, filter, maxParts}, () -> getPartitionsByFilter(dbName, tblName, filter, maxParts)); }
/** * {@inheritDoc} */ @Override public List<Partition> get_partitions(final String dbName, final String tblName, final short maxParts) throws TException { return requestWrapper("get_partitions", new Object[]{dbName, tblName, maxParts}, () -> { return getPartitionsByFilter(dbName, tblName, null, maxParts); }); }
/** * {@inheritDoc} */ @Override public List<Partition> get_partitions_by_filter(final String dbName, final String tblName, final String filter, final short maxParts) throws TException { return requestWrapper("get_partitions_by_filter", new Object[]{dbName, tblName, filter, maxParts}, () -> getPartitionsByFilter(dbName, tblName, filter, maxParts)); }
/** * {@inheritDoc} */ @Override public List<Partition> get_partitions(final String dbName, final String tblName, final short maxParts) throws TException { return requestWrapper("get_partitions", new Object[]{dbName, tblName, maxParts}, () -> { return getPartitionsByFilter(dbName, tblName, null, maxParts); }); }
getPartitionsByFilter(req.getDbName(), req.getTblName(), filter, req.getMaxParts()), false); } catch (Exception e) {
getPartitionsByFilter(req.getDbName(), req.getTblName(), filter, req.getMaxParts()), false); } catch (Exception e) {