SchemaDefinition schema = getSchema(record.getValue("owner", String.class));
BigInteger value = record.getValue(DB_SERIAL.MAX_VAL, BigInteger.class, BigInteger.valueOf(Long.MAX_VALUE));
DataTypeDefinition type = getDataTypeForMAX_VAL(schema, value);
result.add(new DefaultSequenceDefinition(
schema,
record.getValue(DB_SERIAL.NAME),
type));
}