提交 48ab525d 编写于 作者: S Serge Rider

Code cleanup

上级 6cd2639a
......@@ -40,7 +40,7 @@ import java.util.List;
public class OraclePlanNode implements DBCPlanNode {
private final OracleDataSource dataSource;
private String statement_id;
private String statementId;
private long plan_id;
private Timestamp timestamp;
private String remarks;
......@@ -50,32 +50,32 @@ public class OraclePlanNode implements DBCPlanNode {
private String objectOwner;
private String objectName;
private String objectAlias;
private long object_instance;
private long objectInstance;
private String objectType;
private String optimizer;
private long search_columns;
private long searchColumns;
private int id;
private int parent_id;
private int parentId;
private int depth;
private int position;
private long cost;
private long cardinality;
private long bytes;
private String other_tag;
private String partition_start;
private String partition_stop;
private long partition_id;
private String otherTag;
private String partitionStart;
private String partitionStop;
private long partitionId;
private String other;
private String distribution;
private long cpu_cost;
private long io_cost;
private long temp_space;
private String access_predicates;
private String filter_predicates;
private long cpuCost;
private long ioCost;
private long tempSpace;
private String accessPredicates;
private String filterPredicates;
private String projection;
private long time;
private String qblock_name;
private String other_xml;
private String qblockName;
private String otherXml;
private OraclePlanNode parent;
private List<OraclePlanNode> nested;
......@@ -83,7 +83,7 @@ public class OraclePlanNode implements DBCPlanNode {
public OraclePlanNode(OracleDataSource dataSource, IntKeyMap<OraclePlanNode> prevNodes, ResultSet dbResult) throws SQLException
{
this.dataSource = dataSource;
this.statement_id = JDBCUtils.safeGetString(dbResult, "statement_id");
this.statementId = JDBCUtils.safeGetString(dbResult, "statement_id");
this.plan_id = JDBCUtils.safeGetLong(dbResult, "plan_id");
this.timestamp = JDBCUtils.safeGetTimestamp(dbResult, "timestamp");
this.remarks = JDBCUtils.safeGetString(dbResult, "remarks");
......@@ -93,31 +93,31 @@ public class OraclePlanNode implements DBCPlanNode {
this.objectOwner = JDBCUtils.safeGetString(dbResult, "object_owner");
this.objectName = JDBCUtils.safeGetString(dbResult, "object_name");
this.objectAlias = JDBCUtils.safeGetString(dbResult, "object_alias");
this.object_instance = JDBCUtils.safeGetLong(dbResult, "object_instance");
this.objectInstance = JDBCUtils.safeGetLong(dbResult, "object_instance");
this.objectType = JDBCUtils.safeGetString(dbResult, "object_type");
this.optimizer = JDBCUtils.safeGetString(dbResult, "optimizer");
this.search_columns = JDBCUtils.safeGetLong(dbResult, "search_columns");
this.searchColumns = JDBCUtils.safeGetLong(dbResult, "search_columns");
this.id = JDBCUtils.safeGetInt(dbResult, "id");
this.depth = JDBCUtils.safeGetInt(dbResult, "depth");
this.position = JDBCUtils.safeGetInt(dbResult, "position");
this.cost = JDBCUtils.safeGetLong(dbResult, "cost");
this.cardinality = JDBCUtils.safeGetLong(dbResult, "cardinality");
this.bytes = JDBCUtils.safeGetLong(dbResult, "bytes");
this.other_tag = JDBCUtils.safeGetString(dbResult, "other_tag");
this.partition_start = JDBCUtils.safeGetString(dbResult, "partition_start");
this.partition_stop = JDBCUtils.safeGetString(dbResult, "partition_stop");
this.partition_id = JDBCUtils.safeGetLong(dbResult, "partition_id");
this.otherTag = JDBCUtils.safeGetString(dbResult, "other_tag");
this.partitionStart = JDBCUtils.safeGetString(dbResult, "partition_start");
this.partitionStop = JDBCUtils.safeGetString(dbResult, "partition_stop");
this.partitionId = JDBCUtils.safeGetLong(dbResult, "partition_id");
this.other = JDBCUtils.safeGetString(dbResult, "other");
this.distribution = JDBCUtils.safeGetString(dbResult, "distribution");
this.cpu_cost = JDBCUtils.safeGetLong(dbResult, "cpu_cost");
this.io_cost = JDBCUtils.safeGetLong(dbResult, "io_cost");
this.temp_space = JDBCUtils.safeGetLong(dbResult, "temp_space");
this.access_predicates = JDBCUtils.safeGetString(dbResult, "access_predicates");
this.filter_predicates = JDBCUtils.safeGetString(dbResult, "filter_predicates");
this.cpuCost = JDBCUtils.safeGetLong(dbResult, "cpu_cost");
this.ioCost = JDBCUtils.safeGetLong(dbResult, "io_cost");
this.tempSpace = JDBCUtils.safeGetLong(dbResult, "temp_space");
this.accessPredicates = JDBCUtils.safeGetString(dbResult, "access_predicates");
this.filterPredicates = JDBCUtils.safeGetString(dbResult, "filter_predicates");
this.projection = JDBCUtils.safeGetString(dbResult, "projection");
this.time = JDBCUtils.safeGetLong(dbResult, "time");
this.qblock_name = JDBCUtils.safeGetString(dbResult, "qblock_name");
this.other_xml = JDBCUtils.safeGetString(dbResult, "other_xml");
this.qblockName = JDBCUtils.safeGetString(dbResult, "qblock_name");
this.otherXml = JDBCUtils.safeGetString(dbResult, "other_xml");
Integer parent_id = JDBCUtils.safeGetInteger(dbResult, "parent_id");
if (parent_id != null) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册