use of com.palantir.atlasdb.keyvalue.dbkvs.impl.TableValueStyle in project atlasdb by palantir.
the class OracleCellTsPageLoader method getTableDetailsUsingNewConnection.
private TableDetails getTableDetailsUsingNewConnection(TableReference tableRef) {
try (ConnectionSupplier conns = new ConnectionSupplier(connectionPool)) {
String shortName = tableNameGetter.getInternalShortTableName(conns, tableRef);
TableValueStyle style = valueStyleCache.getTableType(conns, tableRef, config.metadataTable());
boolean hasOverflow = style == TableValueStyle.OVERFLOW;
return new TableDetails(shortName, hasOverflow);
} catch (TableMappingNotFoundException e) {
throw new RuntimeException(e);
}
}
Aggregations