Class SchemaVersion
java.lang.Object
org.apache.polaris.persistence.relational.jdbc.models.SchemaVersion
- All Implemented Interfaces:
Converter<SchemaVersion>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConverts a ResultSet to model.intgetValue()toMap(DatabaseType databaseType) Convert a model into a Map with keys as snake case names, where as values as values of member of model obj.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.polaris.persistence.relational.jdbc.models.Converter
toJsonbPGobject
-
Constructor Details
-
SchemaVersion
public SchemaVersion()
-
-
Method Details
-
getValue
public int getValue() -
fromResultSet
Description copied from interface:ConverterConverts a ResultSet to model.- Specified by:
fromResultSetin interfaceConverter<SchemaVersion>- Parameters:
rs- : ResultSet from JDBC.- Returns:
- the corresponding business entity
- Throws:
SQLException- : Exception while fetching from ResultSet.
-
toMap
Description copied from interface:ConverterConvert a model into a Map with keys as snake case names, where as values as values of member of model obj.- Specified by:
toMapin interfaceConverter<SchemaVersion>
-