Interface BindMaxLength

All Known Implementing Classes:
BindMaxLength.Standard, BindMaxLength.UTF8

public interface BindMaxLength
The max length check on bind values.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    Standard string length implementation.
    static final class 
    Length check based on UTF8 bytes.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    length(int dbLength, Object obj)
    Return the length of the object.
    Return a standard implementation.
    Return a UTF8 based implementation.
  • Method Details

    • ofUtf8

      static BindMaxLength ofUtf8()
      Return a UTF8 based implementation.
    • ofStandard

      static BindMaxLength ofStandard()
      Return a standard implementation.
    • length

      long length(int dbLength, Object obj)
      Return the length of the object.