Class EntityNameLookupRecordConverter
java.lang.Object
org.apache.polaris.persistence.relational.jdbc.models.EntityNameLookupRecordConverter
- All Implemented Interfaces:
Converter<org.apache.polaris.core.entity.EntityNameLookupRecord>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.polaris.core.entity.EntityNameLookupRecordConverts a ResultSet to model.toMap(DatabaseType databaseType) Convert a model into a Map with keys as snake case names, and 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
-
EntityNameLookupRecordConverter
public EntityNameLookupRecordConverter()
-
-
Method Details
-
fromResultSet
public org.apache.polaris.core.entity.EntityNameLookupRecord fromResultSet(ResultSet rs) throws SQLException Description copied from interface:ConverterConverts a ResultSet to model.- Specified by:
fromResultSetin interfaceConverter<org.apache.polaris.core.entity.EntityNameLookupRecord>- 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, and values as values of member of model obj.
-