ensureTableCreated(getUrl(), JOIN_ITEM_TABLE);
ensureTableCreated(getUrl(), JOIN_SUPPLIER_TABLE);
ensureTableCreated(getUrl(), TABLE_WITH_ARRAY);
Properties props = new Properties();
props.setProperty(PhoenixRuntime.CURRENT_SCN_ATTRIB, Long.toString(MetaDataProtocol.MIN_TABLE_TIMESTAMP));
PhoenixConnection conn = DriverManager.getConnection(PHOENIX_CONNECTIONLESS_JDBC_URL, props).unwrap(PhoenixConnection.class);
try {
PTable table = conn.getPMetaData().getTable(ATABLE_NAME);
ATABLE = table;
ORGANIZATION_ID = table.getColumn("ORGANIZATION_ID");
ENTITY_ID = table.getColumn("ENTITY_ID");
A_INTEGER = table.getColumn("A_INTEGER");
A_STRING = table.getColumn("A_STRING");
B_STRING = table.getColumn("B_STRING");
ENTITY_ID = table.getColumn("ENTITY_ID");
A_DATE = table.getColumn("A_DATE");
A_TIME = table.getColumn("A_TIME");
A_TIMESTAMP = table.getColumn("A_TIMESTAMP");
X_DECIMAL = table.getColumn("X_DECIMAL");
} finally {
conn.close();
}
}