| Modifier and Type | Field and Description |
|---|---|
| private ArrayList | |
| private ArrayList | |
| private Connection | |
| private boolean | |
| private int | |
| private String[] | |
| private ArrayList | |
| private ArrayList | |
| private int | |
| private String | |
| private String | |
| private HashMap | |
| private ArrayList |
| Access | Constructor and Description |
|---|---|
| public | ColumnInfo(Connection
- connection to use for metadata queries conn, String - table's schema sName, String - table Name tName, String - comma seperared insert statement column list insertColumnList, String - Indexes in the file vtiColumnIndexes, String - Prefix to use to generate column names to select from VTI vtiColumnPrefix, String[] headerColumnNames)Initialize the column type and name information |
| Modifier and Type | Method and Description |
|---|---|
| public static HashMap | |
| public String | |
| public String | |
| public static String[] | |
| public int | |
| public static HashMap | |
| public static int[] | |
| public String | |
| public String | |
| private String | |
| private String | |
| public String | |
| public static final boolean | |
| private boolean | |
| private int | |
| private boolean |
| columnPositions | back to summary |
|---|---|
| private ArrayList<E> columnPositions | |
| columnTypes | back to summary |
|---|---|
| private ArrayList<String> columnTypes | |
| conn | back to summary |
|---|---|
| private Connection conn | |
| createolumnNames | back to summary |
|---|---|
| private boolean createolumnNames | |
| expectedNumberOfCols | back to summary |
|---|---|
| private int expectedNumberOfCols | |
| headerColumnNames | back to summary |
|---|---|
| private String[] headerColumnNames | |
| insertColumnNames | back to summary |
|---|---|
| private ArrayList<String> insertColumnNames | |
| jdbcColumnTypes | back to summary |
|---|---|
| private ArrayList<Integer> jdbcColumnTypes | |
| noOfColumns | back to summary |
|---|---|
| private int noOfColumns | |
| schemaName | back to summary |
|---|---|
| private String schemaName | |
| tableName | back to summary |
|---|---|
| private String tableName | |
| udtClassNames | back to summary |
|---|---|
| private HashMap<String, String> udtClassNames | |
| vtiColumnNames | back to summary |
|---|---|
| private ArrayList<String> vtiColumnNames | |
| ColumnInfo | back to summary |
|---|---|
| public ColumnInfo(Connection conn, String sName, String tName, String insertColumnList, String vtiColumnIndexes, String vtiColumnPrefix, String[] headerColumnNames) throws SQLException Initialize the column type and name information
| |
| deserializeHashMap | back to summary |
|---|---|
| public static HashMap | |
| getColumnNamesWithCasts | back to summary |
|---|---|
| public String getColumnNamesWithCasts() | |
| getColumnTypeNames | back to summary |
|---|---|
| public String getColumnTypeNames() throws Exception Get the column type names. | |
| getExpectedColumnTypeNames | back to summary |
|---|---|
| public static String[] getExpectedColumnTypeNames(String columnTypeNamesString, int noOfColumns) throws Exception | |
| getExpectedNumberOfColumnsInFile | back to summary |
|---|---|
| public int getExpectedNumberOfColumnsInFile() | |
| getExpectedUDTClasses | back to summary |
|---|---|
| public static HashMap | |
| getExpectedVtiColumnTypes | back to summary |
|---|---|
| public static int[] getExpectedVtiColumnTypes(String columnTypesStr, int noOfColumns) | |
| getExpectedVtiColumnTypesAsString | back to summary |
|---|---|
| public String getExpectedVtiColumnTypesAsString() | |
| getInsertColumnNames | back to summary |
|---|---|
| public String getInsertColumnNames() | |
| getTypeOption | back to summary |
|---|---|
| private String getTypeOption(String type, int length, int precision, int scale) | |
| getUDTClassName | back to summary |
|---|---|
| private String getUDTClassName(DatabaseMetaData dmd, String sqlTypeName) throws SQLException | |
| getUDTClassNames | back to summary |
|---|---|
| public String getUDTClassNames() throws Exception Get the class names of udt columns as a string. | |
| importExportSupportedType | back to summary |
|---|---|
| public static final boolean importExportSupportedType(int type) | |
| initializeColumnInfo | back to summary |
|---|---|
| private boolean initializeColumnInfo(String columnPattern) throws SQLException | |
| readHeaders | back to summary |
|---|---|
| private int readHeaders(String columnPattern) throws SQLException | |
| tableExists | back to summary |
|---|---|
| private boolean tableExists() throws SQLException | |