use of com.palantir.common.exception.TableMappingNotFoundException 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