Class JSR310OffsetTimeType

All Implemented Interfaces:
Type<OffsetTime>

public class JSR310OffsetTimeType extends AbstractJSR310DateTimeType<OffsetTime>
  • Constructor Details

    • JSR310OffsetTimeType

      public JSR310OffsetTimeType()
    • JSR310OffsetTimeType

      public JSR310OffsetTimeType(int type)
  • Method Details

    • getLiteral

      public String getLiteral(OffsetTime value)
      Description copied from interface: Type
      Get the literal representation
      Specified by:
      getLiteral in interface Type<OffsetTime>
      Overrides:
      getLiteral in class AbstractType<OffsetTime>
      Parameters:
      value - value
      Returns:
      literal representation
    • getReturnedClass

      public Class<OffsetTime> getReturnedClass()
      Description copied from interface: Type
      Get the returned type
      Returns:
      returned class
    • getValue

      @Nullable public @Nullable OffsetTime getValue(ResultSet rs, int startIndex) throws SQLException
      Description copied from interface: Type
      Get the object from the result set
      Parameters:
      rs - result set
      startIndex - column index in result set
      Returns:
      value
      Throws:
      SQLException
    • setValue

      public void setValue(PreparedStatement st, int startIndex, OffsetTime value) throws SQLException
      Description copied from interface: Type
      Set the object to the statement
      Parameters:
      st - statement
      startIndex - column index in statement
      value - value to be set
      Throws:
      SQLException