Class ArrayEncoding.NumberArrayEncoder<N extends Number>

java.lang.Object
org.postgresql.jdbc.ArrayEncoding.AbstractArrayEncoder<N[]>
org.postgresql.jdbc.ArrayEncoding.NumberArrayEncoder<N>
Type Parameters:
N - The base type of array.
All Implemented Interfaces:
ArrayEncoding.ArrayEncoder<N[]>
Enclosing class:
ArrayEncoding

private abstract static class ArrayEncoding.NumberArrayEncoder<N extends Number> extends ArrayEncoding.AbstractArrayEncoder<N[]>
Base class to provide support for Number based arrays.
  • Field Details

    • fieldSize

      private final int fieldSize
  • Constructor Details

    • NumberArrayEncoder

      NumberArrayEncoder(int fieldSize, int oid, int arrayOid)
      Parameters:
      fieldSize - The fixed size to represent each value in binary.
      oid - The base type oid.
      arrayOid - The array type oid.
  • Method Details