test_class.declarator: oidFields = Arrays.stream(DataType.class.getDeclaredFields()).
        filter(f -> Modifier.isStatic(f.getModifiers()) && f.getType() == Integer.TYPE).
        toArray(Field[]::new)
test_class.modifier: static final
test_class.original_string: static final Field[] oidFields = Arrays.stream(DataType.class.getDeclaredFields()).
        filter(f -> Modifier.isStatic(f.getModifiers()) && f.getType() == Integer.TYPE).
        toArray(Field[]::new);
test_class.type: Field[]
test_class.var_name: oidFields
test_class.file: driver/src/test/java/pgnio/DataTypeTest.java
test_class.identifier: DataTypeTest
test_class.superclass: extends TestBase
test_case.body: @Test
    public void testArrayComponentOid() throws Exception {
      for (Field oidField : oidFields)
        if (oidField.getName().endsWith("_ARRAY"))
          Assert.assertEquals(oidField.getName().substring(0, oidField.getName().length() - 6),
              DataType.nameForOid(DataType.arrayComponentOid((int) oidField.get(null))));
    }
test_case.class_method_signature: DataTypeTest.testArrayComponentOid()
test_case.full_signature: @Test public void testArrayComponentOid()
test_case.identifier: testArrayComponentOid
test_case.invocations: endsWith getName assertEquals substring getName length getName nameForOid arrayComponentOid get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testArrayComponentOid()
focal_class.declarator: UNSPECIFIED = 0
focal_class.modifier: public static final
focal_class.original_string: public static final int UNSPECIFIED = 0;
focal_class.type: int
focal_class.var_name: UNSPECIFIED
focal_class.declarator: BIT = 1560
focal_class.modifier: public static final
focal_class.original_string: public static final int BIT = 1560;
focal_class.type: int
focal_class.var_name: BIT
focal_class.declarator: BIT_ARRAY = 1561
focal_class.modifier: public static final
focal_class.original_string: public static final int BIT_ARRAY = 1561;
focal_class.type: int
focal_class.var_name: BIT_ARRAY
focal_class.declarator: BOOL = 16
focal_class.modifier: public static final
focal_class.original_string: public static final int BOOL = 16;
focal_class.type: int
focal_class.var_name: BOOL
focal_class.declarator: BOOL_ARRAY = 1000
focal_class.modifier: public static final
focal_class.original_string: public static final int BOOL_ARRAY = 1000;
focal_class.type: int
focal_class.var_name: BOOL_ARRAY
focal_class.declarator: BOX = 603
focal_class.modifier: public static final
focal_class.original_string: public static final int BOX = 603;
focal_class.type: int
focal_class.var_name: BOX
focal_class.declarator: BOX_ARRAY = 1020
focal_class.modifier: public static final
focal_class.original_string: public static final int BOX_ARRAY = 1020;
focal_class.type: int
focal_class.var_name: BOX_ARRAY
focal_class.declarator: BPCHAR = 1042
focal_class.modifier: public static final
focal_class.original_string: public static final int BPCHAR = 1042;
focal_class.type: int
focal_class.var_name: BPCHAR
focal_class.declarator: BPCHAR_ARRAY = 1014
focal_class.modifier: public static final
focal_class.original_string: public static final int BPCHAR_ARRAY = 1014;
focal_class.type: int
focal_class.var_name: BPCHAR_ARRAY
focal_class.declarator: BYTEA = 17
focal_class.modifier: public static final
focal_class.original_string: public static final int BYTEA = 17;
focal_class.type: int
focal_class.var_name: BYTEA
focal_class.declarator: BYTEA_ARRAY = 1001
focal_class.modifier: public static final
focal_class.original_string: public static final int BYTEA_ARRAY = 1001;
focal_class.type: int
focal_class.var_name: BYTEA_ARRAY
focal_class.declarator: CHAR = 18
focal_class.modifier: public static final
focal_class.original_string: public static final int CHAR = 18;
focal_class.type: int
focal_class.var_name: CHAR
focal_class.declarator: CHAR_ARRAY = 1002
focal_class.modifier: public static final
focal_class.original_string: public static final int CHAR_ARRAY = 1002;
focal_class.type: int
focal_class.var_name: CHAR_ARRAY
focal_class.declarator: CIDR = 650
focal_class.modifier: public static final
focal_class.original_string: public static final int CIDR = 650;
focal_class.type: int
focal_class.var_name: CIDR
focal_class.declarator: CIDR_ARRAY = 651
focal_class.modifier: public static final
focal_class.original_string: public static final int CIDR_ARRAY = 651;
focal_class.type: int
focal_class.var_name: CIDR_ARRAY
focal_class.declarator: CIRCLE = 718
focal_class.modifier: public static final
focal_class.original_string: public static final int CIRCLE = 718;
focal_class.type: int
focal_class.var_name: CIRCLE
focal_class.declarator: CIRCLE_ARRAY = 719
focal_class.modifier: public static final
focal_class.original_string: public static final int CIRCLE_ARRAY = 719;
focal_class.type: int
focal_class.var_name: CIRCLE_ARRAY
focal_class.declarator: DATE = 1082
focal_class.modifier: public static final
focal_class.original_string: public static final int DATE = 1082;
focal_class.type: int
focal_class.var_name: DATE
focal_class.declarator: DATE_ARRAY = 1182
focal_class.modifier: public static final
focal_class.original_string: public static final int DATE_ARRAY = 1182;
focal_class.type: int
focal_class.var_name: DATE_ARRAY
focal_class.declarator: FLOAT4 = 700
focal_class.modifier: public static final
focal_class.original_string: public static final int FLOAT4 = 700;
focal_class.type: int
focal_class.var_name: FLOAT4
focal_class.declarator: FLOAT4_ARRAY = 1021
focal_class.modifier: public static final
focal_class.original_string: public static final int FLOAT4_ARRAY = 1021;
focal_class.type: int
focal_class.var_name: FLOAT4_ARRAY
focal_class.declarator: FLOAT8 = 701
focal_class.modifier: public static final
focal_class.original_string: public static final int FLOAT8 = 701;
focal_class.type: int
focal_class.var_name: FLOAT8
focal_class.declarator: FLOAT8_ARRAY = 1022
focal_class.modifier: public static final
focal_class.original_string: public static final int FLOAT8_ARRAY = 1022;
focal_class.type: int
focal_class.var_name: FLOAT8_ARRAY
focal_class.declarator: INET = 869
focal_class.modifier: public static final
focal_class.original_string: public static final int INET = 869;
focal_class.type: int
focal_class.var_name: INET
focal_class.declarator: INET_ARRAY = 1041
focal_class.modifier: public static final
focal_class.original_string: public static final int INET_ARRAY = 1041;
focal_class.type: int
focal_class.var_name: INET_ARRAY
focal_class.declarator: INT2 = 21
focal_class.modifier: public static final
focal_class.original_string: public static final int INT2 = 21;
focal_class.type: int
focal_class.var_name: INT2
focal_class.declarator: INT2_ARRAY = 1005
focal_class.modifier: public static final
focal_class.original_string: public static final int INT2_ARRAY = 1005;
focal_class.type: int
focal_class.var_name: INT2_ARRAY
focal_class.declarator: INT4 = 23
focal_class.modifier: public static final
focal_class.original_string: public static final int INT4 = 23;
focal_class.type: int
focal_class.var_name: INT4
focal_class.declarator: INT4_ARRAY = 1007
focal_class.modifier: public static final
focal_class.original_string: public static final int INT4_ARRAY = 1007;
focal_class.type: int
focal_class.var_name: INT4_ARRAY
focal_class.declarator: INT8 = 20
focal_class.modifier: public static final
focal_class.original_string: public static final int INT8 = 20;
focal_class.type: int
focal_class.var_name: INT8
focal_class.declarator: INT8_ARRAY = 1016
focal_class.modifier: public static final
focal_class.original_string: public static final int INT8_ARRAY = 1016;
focal_class.type: int
focal_class.var_name: INT8_ARRAY
focal_class.declarator: INTERVAL = 1186
focal_class.modifier: public static final
focal_class.original_string: public static final int INTERVAL = 1186;
focal_class.type: int
focal_class.var_name: INTERVAL
focal_class.declarator: INTERVAL_ARRAY = 1187
focal_class.modifier: public static final
focal_class.original_string: public static final int INTERVAL_ARRAY = 1187;
focal_class.type: int
focal_class.var_name: INTERVAL_ARRAY
focal_class.declarator: JSON = 114
focal_class.modifier: public static final
focal_class.original_string: public static final int JSON = 114;
focal_class.type: int
focal_class.var_name: JSON
focal_class.declarator: JSON_ARRAY = 199
focal_class.modifier: public static final
focal_class.original_string: public static final int JSON_ARRAY = 199;
focal_class.type: int
focal_class.var_name: JSON_ARRAY
focal_class.declarator: JSONB = 3802
focal_class.modifier: public static final
focal_class.original_string: public static final int JSONB = 3802;
focal_class.type: int
focal_class.var_name: JSONB
focal_class.declarator: JSONB_ARRAY = 3807
focal_class.modifier: public static final
focal_class.original_string: public static final int JSONB_ARRAY = 3807;
focal_class.type: int
focal_class.var_name: JSONB_ARRAY
focal_class.declarator: LINE = 628
focal_class.modifier: public static final
focal_class.original_string: public static final int LINE = 628;
focal_class.type: int
focal_class.var_name: LINE
focal_class.declarator: LINE_ARRAY = 629
focal_class.modifier: public static final
focal_class.original_string: public static final int LINE_ARRAY = 629;
focal_class.type: int
focal_class.var_name: LINE_ARRAY
focal_class.declarator: LSEG = 601
focal_class.modifier: public static final
focal_class.original_string: public static final int LSEG = 601;
focal_class.type: int
focal_class.var_name: LSEG
focal_class.declarator: LSEG_ARRAY = 1018
focal_class.modifier: public static final
focal_class.original_string: public static final int LSEG_ARRAY = 1018;
focal_class.type: int
focal_class.var_name: LSEG_ARRAY
focal_class.declarator: MACADDR = 829
focal_class.modifier: public static final
focal_class.original_string: public static final int MACADDR = 829;
focal_class.type: int
focal_class.var_name: MACADDR
focal_class.declarator: MACADDR_ARRAY = 1040
focal_class.modifier: public static final
focal_class.original_string: public static final int MACADDR_ARRAY = 1040;
focal_class.type: int
focal_class.var_name: MACADDR_ARRAY
focal_class.declarator: MACADDR8 = 774
focal_class.modifier: public static final
focal_class.original_string: public static final int MACADDR8 = 774;
focal_class.type: int
focal_class.var_name: MACADDR8
focal_class.declarator: MACADDR8_ARRAY = 775
focal_class.modifier: public static final
focal_class.original_string: public static final int MACADDR8_ARRAY = 775;
focal_class.type: int
focal_class.var_name: MACADDR8_ARRAY
focal_class.declarator: MONEY = 790
focal_class.modifier: public static final
focal_class.original_string: public static final int MONEY = 790;
focal_class.type: int
focal_class.var_name: MONEY
focal_class.declarator: MONEY_ARRAY = 791
focal_class.modifier: public static final
focal_class.original_string: public static final int MONEY_ARRAY = 791;
focal_class.type: int
focal_class.var_name: MONEY_ARRAY
focal_class.declarator: NAME = 19
focal_class.modifier: public static final
focal_class.original_string: public static final int NAME = 19;
focal_class.type: int
focal_class.var_name: NAME
focal_class.declarator: NAME_ARRAY = 1003
focal_class.modifier: public static final
focal_class.original_string: public static final int NAME_ARRAY = 1003;
focal_class.type: int
focal_class.var_name: NAME_ARRAY
focal_class.declarator: NUMERIC = 1700
focal_class.modifier: public static final
focal_class.original_string: public static final int NUMERIC = 1700;
focal_class.type: int
focal_class.var_name: NUMERIC
focal_class.declarator: NUMERIC_ARRAY = 1231
focal_class.modifier: public static final
focal_class.original_string: public static final int NUMERIC_ARRAY = 1231;
focal_class.type: int
focal_class.var_name: NUMERIC_ARRAY
focal_class.declarator: OID = 26
focal_class.modifier: public static final
focal_class.original_string: public static final int OID = 26;
focal_class.type: int
focal_class.var_name: OID
focal_class.declarator: OID_ARRAY = 1028
focal_class.modifier: public static final
focal_class.original_string: public static final int OID_ARRAY = 1028;
focal_class.type: int
focal_class.var_name: OID_ARRAY
focal_class.declarator: PATH = 602
focal_class.modifier: public static final
focal_class.original_string: public static final int PATH = 602;
focal_class.type: int
focal_class.var_name: PATH
focal_class.declarator: PATH_ARRAY = 1019
focal_class.modifier: public static final
focal_class.original_string: public static final int PATH_ARRAY = 1019;
focal_class.type: int
focal_class.var_name: PATH_ARRAY
focal_class.declarator: POINT = 600
focal_class.modifier: public static final
focal_class.original_string: public static final int POINT = 600;
focal_class.type: int
focal_class.var_name: POINT
focal_class.declarator: POINT_ARRAY = 1017
focal_class.modifier: public static final
focal_class.original_string: public static final int POINT_ARRAY = 1017;
focal_class.type: int
focal_class.var_name: POINT_ARRAY
focal_class.declarator: POLYGON = 604
focal_class.modifier: public static final
focal_class.original_string: public static final int POLYGON = 604;
focal_class.type: int
focal_class.var_name: POLYGON
focal_class.declarator: POLYGON_ARRAY = 1027
focal_class.modifier: public static final
focal_class.original_string: public static final int POLYGON_ARRAY = 1027;
focal_class.type: int
focal_class.var_name: POLYGON_ARRAY
focal_class.declarator: REF_CURSOR = 1790
focal_class.modifier: public static final
focal_class.original_string: public static final int REF_CURSOR = 1790;
focal_class.type: int
focal_class.var_name: REF_CURSOR
focal_class.declarator: REF_CURSOR_ARRAY = 2201
focal_class.modifier: public static final
focal_class.original_string: public static final int REF_CURSOR_ARRAY = 2201;
focal_class.type: int
focal_class.var_name: REF_CURSOR_ARRAY
focal_class.declarator: TEXT = 25
focal_class.modifier: public static final
focal_class.original_string: public static final int TEXT = 25;
focal_class.type: int
focal_class.var_name: TEXT
focal_class.declarator: TEXT_ARRAY = 1009
focal_class.modifier: public static final
focal_class.original_string: public static final int TEXT_ARRAY = 1009;
focal_class.type: int
focal_class.var_name: TEXT_ARRAY
focal_class.declarator: TIME = 1083
focal_class.modifier: public static final
focal_class.original_string: public static final int TIME = 1083;
focal_class.type: int
focal_class.var_name: TIME
focal_class.declarator: TIME_ARRAY = 1183
focal_class.modifier: public static final
focal_class.original_string: public static final int TIME_ARRAY = 1183;
focal_class.type: int
focal_class.var_name: TIME_ARRAY
focal_class.declarator: TIMESTAMP = 1114
focal_class.modifier: public static final
focal_class.original_string: public static final int TIMESTAMP = 1114;
focal_class.type: int
focal_class.var_name: TIMESTAMP
focal_class.declarator: TIMESTAMP_ARRAY = 1115
focal_class.modifier: public static final
focal_class.original_string: public static final int TIMESTAMP_ARRAY = 1115;
focal_class.type: int
focal_class.var_name: TIMESTAMP_ARRAY
focal_class.declarator: TIMESTAMPTZ = 1184
focal_class.modifier: public static final
focal_class.original_string: public static final int TIMESTAMPTZ = 1184;
focal_class.type: int
focal_class.var_name: TIMESTAMPTZ
focal_class.declarator: TIMESTAMPTZ_ARRAY = 1185
focal_class.modifier: public static final
focal_class.original_string: public static final int TIMESTAMPTZ_ARRAY = 1185;
focal_class.type: int
focal_class.var_name: TIMESTAMPTZ_ARRAY
focal_class.declarator: TIMETZ = 1266
focal_class.modifier: public static final
focal_class.original_string: public static final int TIMETZ = 1266;
focal_class.type: int
focal_class.var_name: TIMETZ
focal_class.declarator: TIMETZ_ARRAY = 1270
focal_class.modifier: public static final
focal_class.original_string: public static final int TIMETZ_ARRAY = 1270;
focal_class.type: int
focal_class.var_name: TIMETZ_ARRAY
focal_class.declarator: UUID = 2950
focal_class.modifier: public static final
focal_class.original_string: public static final int UUID = 2950;
focal_class.type: int
focal_class.var_name: UUID
focal_class.declarator: UUID_ARRAY = 2951
focal_class.modifier: public static final
focal_class.original_string: public static final int UUID_ARRAY = 2951;
focal_class.type: int
focal_class.var_name: UUID_ARRAY
focal_class.declarator: VARBIT = 1562
focal_class.modifier: public static final
focal_class.original_string: public static final int VARBIT = 1562;
focal_class.type: int
focal_class.var_name: VARBIT
focal_class.declarator: VARBIT_ARRAY = 1563
focal_class.modifier: public static final
focal_class.original_string: public static final int VARBIT_ARRAY = 1563;
focal_class.type: int
focal_class.var_name: VARBIT_ARRAY
focal_class.declarator: VARCHAR = 1043
focal_class.modifier: public static final
focal_class.original_string: public static final int VARCHAR = 1043;
focal_class.type: int
focal_class.var_name: VARCHAR
focal_class.declarator: VARCHAR_ARRAY = 1015
focal_class.modifier: public static final
focal_class.original_string: public static final int VARCHAR_ARRAY = 1015;
focal_class.type: int
focal_class.var_name: VARCHAR_ARRAY
focal_class.declarator: VOID = 2278
focal_class.modifier: public static final
focal_class.original_string: public static final int VOID = 2278;
focal_class.type: int
focal_class.var_name: VOID
focal_class.declarator: XML = 142
focal_class.modifier: public static final
focal_class.original_string: public static final int XML = 142;
focal_class.type: int
focal_class.var_name: XML
focal_class.declarator: XML_ARRAY = 143
focal_class.modifier: public static final
focal_class.original_string: public static final int XML_ARRAY = 143;
focal_class.type: int
focal_class.var_name: XML_ARRAY
focal_class.declarator: dataTypes
focal_class.modifier: private static final
focal_class.original_string: private static final Map<Integer, String> dataTypes;
focal_class.type: Map<Integer, String>
focal_class.var_name: dataTypes
focal_class.file: driver/src/main/java/pgnio/DataType.java
focal_class.identifier: DataType
focal_class.class_method_signature: DataType.nameForOid(int oid)
focal_class.full_signature: public static @Nullable String nameForOid(int oid)
focal_class.identifier: nameForOid
focal_class.modifiers: public static @Nullable
focal_class.parameters: (int oid)
focal_class.return: String
focal_class.signature: String nameForOid(int oid)
focal_class.class_method_signature: DataType.normalizeOid(int oid)
focal_class.full_signature: public static int normalizeOid(int oid)
focal_class.identifier: normalizeOid
focal_class.modifiers: public static
focal_class.parameters: (int oid)
focal_class.return: int
focal_class.signature: int normalizeOid(int oid)
focal_class.class_method_signature: DataType.arrayComponentOid(int oid)
focal_class.full_signature: public static int arrayComponentOid(int oid)
focal_class.identifier: arrayComponentOid
focal_class.modifiers: public static
focal_class.parameters: (int oid)
focal_class.return: int
focal_class.signature: int arrayComponentOid(int oid)
focal_class.class_method_signature: DataType.DataType()
focal_class.full_signature: private  DataType()
focal_class.identifier: DataType
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  DataType()
focal_method.body: public static int arrayComponentOid(int oid) {
      switch (oid) {
        case BIT_ARRAY: return BIT;
        case BOOL_ARRAY: return BOOL;
        case BOX_ARRAY: return BOX;
        case BPCHAR_ARRAY: return BPCHAR;
        case BYTEA_ARRAY: return BYTEA;
        case CHAR_ARRAY: return CHAR;
        case CIDR_ARRAY: return CIDR;
        case CIRCLE_ARRAY: return CIRCLE;
        case DATE_ARRAY: return DATE;
        case FLOAT4_ARRAY: return FLOAT4;
        case FLOAT8_ARRAY: return FLOAT8;
        case INET_ARRAY: return INET;
        case INT2_ARRAY: return INT2;
        case INT4_ARRAY: return INT4;
        case INT8_ARRAY: return INT8;
        case INTERVAL_ARRAY: return INTERVAL;
        case JSON_ARRAY: return JSON;
        case JSONB_ARRAY: return JSONB;
        case LINE_ARRAY: return LINE;
        case LSEG_ARRAY: return LSEG;
        case MACADDR_ARRAY: return MACADDR;
        case MACADDR8_ARRAY: return MACADDR8;
        case MONEY_ARRAY: return MONEY;
        case NAME_ARRAY: return NAME;
        case NUMERIC_ARRAY: return NUMERIC;
        case OID_ARRAY: return OID;
        case PATH_ARRAY: return PATH;
        case POINT_ARRAY: return POINT;
        case POLYGON_ARRAY: return POLYGON;
        case REF_CURSOR_ARRAY: return REF_CURSOR;
        case TEXT_ARRAY: return TEXT;
        case TIME_ARRAY: return TIME;
        case TIMESTAMP_ARRAY: return TIMESTAMP;
        case TIMESTAMPTZ_ARRAY: return TIMESTAMPTZ;
        case TIMETZ_ARRAY: return TIMETZ;
        case UUID_ARRAY: return UUID;
        case VARBIT_ARRAY: return VARBIT;
        case VARCHAR_ARRAY: return VARCHAR;
        case XML_ARRAY: return XML;
        default: return UNSPECIFIED;
      }
    }
focal_method.class_method_signature: DataType.arrayComponentOid(int oid)
focal_method.full_signature: public static int arrayComponentOid(int oid)
focal_method.identifier: arrayComponentOid
focal_method.modifiers: public static
focal_method.parameters: (int oid)
focal_method.return: int
focal_method.signature: int arrayComponentOid(int oid)