dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #39971
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 20232: Unused methods
------------------------------------------------------------
revno: 20232
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2015-09-18 19:10:13 +0200
message:
Unused methods
modified:
dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/StatementBuilder.java
dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/statementbuilder/AbstractStatementBuilder.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/StatementBuilder.java'
--- dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/StatementBuilder.java 2015-07-07 03:14:28 +0000
+++ dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/StatementBuilder.java 2015-09-18 17:10:13 +0000
@@ -112,10 +112,12 @@
/**
* Returns the name of a double column type.
- * @return the name of a double column type.
*/
String getDoubleColumnType();
+ /**
+ * Returns the name of a longvar column type.
+ */
String getLongVarBinaryType();
/**
@@ -143,39 +145,6 @@
String getPeriodIdentifierStatement( Period period );
/**
- * Creates a create table statement for the aggregated datavalue table.
- */
- String getCreateAggregatedDataValueTable( boolean temp );
-
- /**
- * Creates a create table statement for the aggregated organisation unit
- * group datavalue table.
- */
- String getCreateAggregatedOrgUnitDataValueTable( boolean temp );
-
- /**
- * Creates a create table statement for the aggregated indicatorvalue table.
- */
- String getCreateAggregatedIndicatorTable( boolean temp );
-
- /**
- * Creates a create table statement for the aggregated organisation unit
- * group indicatorvalue table.
- */
- String getCreateAggregatedOrgUnitIndicatorTable( boolean temp );
-
- /**
- * Creates a create table statement for the aggregated datasetcompleteness table.
- */
- String getCreateDataSetCompletenessTable();
-
- /**
- * Creates a create table statement for the aggregated organisation unit
- * group datasetcompleteness table.
- */
- String getCreateOrgUnitDataSetCompletenessTable();
-
- /**
* Returns the number of columns part of the primary key for the given table.
*/
String getNumberOfColumnsInPrimaryKey( String table );
=== modified file 'dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/statementbuilder/AbstractStatementBuilder.java'
--- dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/statementbuilder/AbstractStatementBuilder.java 2015-07-10 21:08:24 +0000
+++ dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/statementbuilder/AbstractStatementBuilder.java 2015-09-18 17:10:13 +0000
@@ -91,103 +91,6 @@
}
@Override
- public String getCreateAggregatedDataValueTable( boolean temp )
- {
- return
- "CREATE TABLE aggregateddatavalue" + (temp ? "_temp" : "") + " ( " +
- "dataelementid INTEGER, " +
- "categoryoptioncomboid INTEGER, " +
- "periodid INTEGER, " +
- "organisationunitid INTEGER, " +
- "periodtypeid INTEGER, " +
- "level INTEGER, " +
- "value " + getDoubleColumnType() + " );";
- }
-
- @Override
- public String getCreateAggregatedOrgUnitDataValueTable( boolean temp )
- {
- return
- "CREATE TABLE aggregatedorgunitdatavalue" + (temp ? "_temp" : "") + " ( " +
- "dataelementid INTEGER, " +
- "categoryoptioncomboid INTEGER, " +
- "periodid INTEGER, " +
- "organisationunitid INTEGER, " +
- "organisationunitgroupid INTEGER, " +
- "periodtypeid INTEGER, " +
- "level INTEGER, " +
- "value " + getDoubleColumnType() + " );";
- }
-
- @Override
- public String getCreateAggregatedIndicatorTable( boolean temp )
- {
- return
- "CREATE TABLE aggregatedindicatorvalue" + (temp ? "_temp" : "") + " ( " +
- "indicatorid INTEGER, " +
- "periodid INTEGER, " +
- "organisationunitid INTEGER, " +
- "periodtypeid INTEGER, " +
- "level INTEGER, " +
- "annualized VARCHAR( 10 ), " +
- "factor " + getDoubleColumnType() + ", " +
- "value " + getDoubleColumnType() + ", " +
- "numeratorvalue " + getDoubleColumnType() + ", " +
- "denominatorvalue " + getDoubleColumnType() + " );";
- }
-
- @Override
- public String getCreateAggregatedOrgUnitIndicatorTable( boolean temp )
- {
- return
- "CREATE TABLE aggregatedorgunitindicatorvalue" + (temp ? "_temp" : "") + " ( " +
- "indicatorid INTEGER, " +
- "periodid INTEGER, " +
- "organisationunitid INTEGER, " +
- "organisationunitgroupid INTEGER, " +
- "periodtypeid INTEGER, " +
- "level INTEGER, " +
- "annualized VARCHAR( 10 ), " +
- "factor " + getDoubleColumnType() + ", " +
- "value " + getDoubleColumnType() + ", " +
- "numeratorvalue " + getDoubleColumnType() + ", " +
- "denominatorvalue " + getDoubleColumnType() + " );";
- }
-
- @Override
- public String getCreateDataSetCompletenessTable()
- {
- return
- "CREATE TABLE aggregateddatasetcompleteness ( " +
- "datasetid INTEGER, " +
- "periodid INTEGER, " +
- "periodname VARCHAR( 30 ), " +
- "organisationunitid INTEGER, " +
- "sources INTEGER, " +
- "registrations INTEGER, " +
- "registrationsOnTime INTEGER, " +
- "value " + getDoubleColumnType() + ", " +
- "valueOnTime " + getDoubleColumnType() + " );";
- }
-
- @Override
- public String getCreateOrgUnitDataSetCompletenessTable()
- {
- return
- "CREATE TABLE aggregatedorgunitdatasetcompleteness ( " +
- "datasetid INTEGER, " +
- "periodid INTEGER, " +
- "periodname VARCHAR( 30 ), " +
- "organisationunitid INTEGER, " +
- "organisationunitgroupid INTEGER, " +
- "sources INTEGER, " +
- "registrations INTEGER, " +
- "registrationsOnTime INTEGER, " +
- "value " + getDoubleColumnType() + ", " +
- "valueOnTime " + getDoubleColumnType() + " );";
- }
-
- @Override
public String getNumberOfColumnsInPrimaryKey( String table )
{
return