Index

Package: com.pavelvlasov.metrics.persistent

Class PersistingSlicingMetricSinkEngine

Methods
MethodDescription
public void <init>( com.pavelvlasov.sql.SQLProcessor processor ) Constructor
public int deleteKindred( )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Deletes all records from ${KINDRED}
public int deleteKindred( int Ancestor, int Descendant )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Deletes by primary key from ${KINDRED}
public int deleteMeasurement( )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Deletes all records from ${MEASUREMENT}
public int deleteMeasurement( int Id )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Deletes by primary key from ${MEASUREMENT}
public int deleteMetric( )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Deletes all records from ${METRIC}
public int deleteMetric( int Id )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Deletes by primary key from ${METRIC}
public int deleteMetricByParent( Integer Parent )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Deletes rows from ${METRIC} by foreign key FK_METRIC_SQLC$PARENT columns value(s): PARENT
public int deleteMetricValueEQ( Integer Parent, String Name )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Deletes row(s) with equal index value(s): PARENT, NAME
public int deletePrimaryKey( )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Deletes all records from ${PRIMARY_KEY}
public int deletePrimaryKey( String KeyName )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Deletes by primary key from ${PRIMARY_KEY}
public int deleteSlice( )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Deletes all records from ${SLICE}
public int deleteSlice( int Id )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Deletes by primary key from ${SLICE}
public int deleteSliceByMetric( int MetricId )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Deletes rows from ${SLICE} by foreign key FK_SLICE_SQLC$METRIC columns value(s): METRIC_ID
public int deleteSliceTimeToLE( long TimeTo )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Deletes row(s) with less or equal index value(s): TIME_TO
public java.util.Collection getActiveMetrics( int p1, long p2, long p3 ) Executes query, returns database backed collection with elements of type of the first column.
public java.util.Collection getActiveMetrics( int p1, long p2, long p3, com.pavelvlasov.convert.Converter converter ) Executes query, returns database backed collection with elements of type of the first column. If converter is not null then it converts elements.
public java.util.Collection getActiveMetrics( int p1, long p2, long p3, Class targetClass ) Executes query, returns database backed collection with elements of type of the first column. If target class is not null then elements are instances of target class created from the first column values.
public java.util.Collection getActiveMetrics( int p1, long p2, long p3, java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with values from the first column and returns the collection.
public java.util.Collection getActiveMetrics( int p1, long p2, long p3, java.util.Collection receiver, com.pavelvlasov.convert.Converter converter )  throws java.sql.SQLExceptionExecutes query, populates collection with values from the first column and returns the collection. Elements get converted by the converter if it is not null.
public java.util.Collection getActiveMetrics( int p1, long p2, long p3, java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with values from the first column and returns the collection. If target class is not null instances of target class are instantiated from first column values
public ActualPeriod getActualPeriod( int p1, long p2, long p3 )  throws java.sql.SQLExceptionExecutes query and returns single object.
public ActualPeriod getActualPeriod( int p1, long p2, long p3, Class targetClass )  throws java.sql.SQLExceptionExecutes query and returns single object of target class type. Target class must be return type compatible.
public java.util.Collection getKindred( ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Kindred. Selects all rows from ${KINDRED}
public java.util.Collection getKindred( com.pavelvlasov.convert.Converter converter ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Kindred. If converter is not null then elements will be results of conversion.Selects all rows from ${KINDRED}
public java.util.Collection getKindred( Class targetClass ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Kindred. If targetClass is not null then elements will be of targetClass typeSelects all rows from ${KINDRED}
public java.util.Collection getKindred( java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Kindred and returns populated collection. Selects all rows from ${KINDRED}
public java.util.Collection getKindred( java.util.Collection receiver, com.pavelvlasov.convert.Converter converter )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Kindred and returns populated collection. If converter is not null then elements will be results of conversion. Selects all rows from ${KINDRED}
public java.util.Collection getKindred( java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Kindred and returns populated collection. If targetClass is not null then elements will be of targetClass type. Selects all rows from ${KINDRED}
public Kindred getKindred( int Ancestor, int Descendant )  throws java.sql.SQLExceptionExecutes query and returns single object. Selects by primary key from ${KINDRED}
public Kindred getKindred( int Ancestor, int Descendant, Class targetClass )  throws java.sql.SQLExceptionExecutes query and returns single object of target class type. Target class must be return type compatible. Selects by primary key from ${KINDRED}
public java.util.Collection getMeasurement( ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Measurement. Selects all rows from ${MEASUREMENT}
public java.util.Collection getMeasurement( com.pavelvlasov.convert.Converter converter ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Measurement. If converter is not null then elements will be results of conversion.Selects all rows from ${MEASUREMENT}
public java.util.Collection getMeasurement( Class targetClass ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Measurement. If targetClass is not null then elements will be of targetClass typeSelects all rows from ${MEASUREMENT}
public java.util.Collection getMeasurement( java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Measurement and returns populated collection. Selects all rows from ${MEASUREMENT}
public java.util.Collection getMeasurement( java.util.Collection receiver, com.pavelvlasov.convert.Converter converter )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Measurement and returns populated collection. If converter is not null then elements will be results of conversion. Selects all rows from ${MEASUREMENT}
public java.util.Collection getMeasurement( java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Measurement and returns populated collection. If targetClass is not null then elements will be of targetClass type. Selects all rows from ${MEASUREMENT}
public Measurement getMeasurement( int Id )  throws java.sql.SQLExceptionExecutes query and returns single object. Selects by primary key from ${MEASUREMENT}
public Measurement getMeasurement( int Id, Class targetClass )  throws java.sql.SQLExceptionExecutes query and returns single object of target class type. Target class must be return type compatible. Selects by primary key from ${MEASUREMENT}
public java.util.Collection getMetric( ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Metric. Selects all rows from ${METRIC}
public java.util.Collection getMetric( com.pavelvlasov.convert.Converter converter ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Metric. If converter is not null then elements will be results of conversion.Selects all rows from ${METRIC}
public java.util.Collection getMetric( Class targetClass ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Metric. If targetClass is not null then elements will be of targetClass typeSelects all rows from ${METRIC}
public java.util.Collection getMetric( java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Metric and returns populated collection. Selects all rows from ${METRIC}
public java.util.Collection getMetric( java.util.Collection receiver, com.pavelvlasov.convert.Converter converter )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Metric and returns populated collection. If converter is not null then elements will be results of conversion. Selects all rows from ${METRIC}
public java.util.Collection getMetric( java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Metric and returns populated collection. If targetClass is not null then elements will be of targetClass type. Selects all rows from ${METRIC}
public Metric getMetric( int Id )  throws java.sql.SQLExceptionExecutes query and returns single object. Selects by primary key from ${METRIC}
public Metric getMetric( int Id, Class targetClass )  throws java.sql.SQLExceptionExecutes query and returns single object of target class type. Target class must be return type compatible. Selects by primary key from ${METRIC}
public java.util.Collection getMetricByParent( Integer Parent ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Metric. Selects rows from ${METRIC} by foreign key FK_METRIC_SQLC$PARENT columns value(s): PARENT
public java.util.Collection getMetricByParent( Integer Parent, com.pavelvlasov.convert.Converter converter ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Metric. If converter is not null then elements will be results of conversion.Selects rows from ${METRIC} by foreign key FK_METRIC_SQLC$PARENT columns value(s): PARENT
public java.util.Collection getMetricByParent( Integer Parent, Class targetClass ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Metric. If targetClass is not null then elements will be of targetClass typeSelects rows from ${METRIC} by foreign key FK_METRIC_SQLC$PARENT columns value(s): PARENT
public java.util.Collection getMetricByParent( Integer Parent, java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Metric and returns populated collection. Selects rows from ${METRIC} by foreign key FK_METRIC_SQLC$PARENT columns value(s): PARENT
public java.util.Collection getMetricByParent( Integer Parent, java.util.Collection receiver, com.pavelvlasov.convert.Converter converter )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Metric and returns populated collection. If converter is not null then elements will be results of conversion. Selects rows from ${METRIC} by foreign key FK_METRIC_SQLC$PARENT columns value(s): PARENT
public java.util.Collection getMetricByParent( Integer Parent, java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Metric and returns populated collection. If targetClass is not null then elements will be of targetClass type. Selects rows from ${METRIC} by foreign key FK_METRIC_SQLC$PARENT columns value(s): PARENT
public Number getMetricId( int p1, String p2 )  throws java.sql.SQLExceptionExecutes query and returns value of the first (the only) column in the first row.
public java.util.Collection getMetricsToNormalize( ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Metric.
public java.util.Collection getMetricsToNormalize( com.pavelvlasov.convert.Converter converter ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Metric. If converter is not null then elements will be results of conversion.
public java.util.Collection getMetricsToNormalize( Class targetClass ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Metric. If targetClass is not null then elements will be of targetClass type
public java.util.Collection getMetricsToNormalize( java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Metric and returns populated collection.
public java.util.Collection getMetricsToNormalize( java.util.Collection receiver, com.pavelvlasov.convert.Converter converter )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Metric and returns populated collection. If converter is not null then elements will be results of conversion.
public java.util.Collection getMetricsToNormalize( java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Metric and returns populated collection. If targetClass is not null then elements will be of targetClass type.
public java.util.Collection getMetricValueEQ( Integer Parent, String Name ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Metric. Selects row(s) with equal index value(s): PARENT, NAME
public java.util.Collection getMetricValueEQ( Integer Parent, String Name, com.pavelvlasov.convert.Converter converter ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Metric. If converter is not null then elements will be results of conversion.Selects row(s) with equal index value(s): PARENT, NAME
public java.util.Collection getMetricValueEQ( Integer Parent, String Name, Class targetClass ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Metric. If targetClass is not null then elements will be of targetClass typeSelects row(s) with equal index value(s): PARENT, NAME
public java.util.Collection getMetricValueEQ( Integer Parent, String Name, java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Metric and returns populated collection. Selects row(s) with equal index value(s): PARENT, NAME
public java.util.Collection getMetricValueEQ( Integer Parent, String Name, java.util.Collection receiver, com.pavelvlasov.convert.Converter converter )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Metric and returns populated collection. If converter is not null then elements will be results of conversion. Selects row(s) with equal index value(s): PARENT, NAME
public java.util.Collection getMetricValueEQ( Integer Parent, String Name, java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Metric and returns populated collection. If targetClass is not null then elements will be of targetClass type. Selects row(s) with equal index value(s): PARENT, NAME
public java.util.Collection getPrimaryKey( ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.PrimaryKey. Selects all rows from ${PRIMARY_KEY}
public java.util.Collection getPrimaryKey( com.pavelvlasov.convert.Converter converter ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.PrimaryKey. If converter is not null then elements will be results of conversion.Selects all rows from ${PRIMARY_KEY}
public java.util.Collection getPrimaryKey( Class targetClass ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.PrimaryKey. If targetClass is not null then elements will be of targetClass typeSelects all rows from ${PRIMARY_KEY}
public java.util.Collection getPrimaryKey( java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.PrimaryKey and returns populated collection. Selects all rows from ${PRIMARY_KEY}
public java.util.Collection getPrimaryKey( java.util.Collection receiver, com.pavelvlasov.convert.Converter converter )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.PrimaryKey and returns populated collection. If converter is not null then elements will be results of conversion. Selects all rows from ${PRIMARY_KEY}
public java.util.Collection getPrimaryKey( java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.PrimaryKey and returns populated collection. If targetClass is not null then elements will be of targetClass type. Selects all rows from ${PRIMARY_KEY}
public PrimaryKey getPrimaryKey( String KeyName )  throws java.sql.SQLExceptionExecutes query and returns single object. Selects by primary key from ${PRIMARY_KEY}
public PrimaryKey getPrimaryKey( String KeyName, Class targetClass )  throws java.sql.SQLExceptionExecutes query and returns single object of target class type. Target class must be return type compatible. Selects by primary key from ${PRIMARY_KEY}
public Number getRootMetricId( String p1 )  throws java.sql.SQLExceptionExecutes query and returns value of the first (the only) column in the first row.
public java.util.Collection getRoots( ) Executes query, returns database backed collection with elements of type of the first column.
public java.util.Collection getRoots( com.pavelvlasov.convert.Converter converter ) Executes query, returns database backed collection with elements of type of the first column. If converter is not null then it converts elements.
public java.util.Collection getRoots( Class targetClass ) Executes query, returns database backed collection with elements of type of the first column. If target class is not null then elements are instances of target class created from the first column values.
public java.util.Collection getRoots( java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with values from the first column and returns the collection.
public java.util.Collection getRoots( java.util.Collection receiver, com.pavelvlasov.convert.Converter converter )  throws java.sql.SQLExceptionExecutes query, populates collection with values from the first column and returns the collection. Elements get converted by the converter if it is not null.
public java.util.Collection getRoots( java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with values from the first column and returns the collection. If target class is not null instances of target class are instantiated from first column values
public java.util.Collection getSlice( ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Slice. Selects all rows from ${SLICE}
public java.util.Collection getSlice( com.pavelvlasov.convert.Converter converter ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Slice. If converter is not null then elements will be results of conversion.Selects all rows from ${SLICE}
public java.util.Collection getSlice( Class targetClass ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Slice. If targetClass is not null then elements will be of targetClass typeSelects all rows from ${SLICE}
public java.util.Collection getSlice( java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Slice and returns populated collection. Selects all rows from ${SLICE}
public java.util.Collection getSlice( java.util.Collection receiver, com.pavelvlasov.convert.Converter converter )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Slice and returns populated collection. If converter is not null then elements will be results of conversion. Selects all rows from ${SLICE}
public java.util.Collection getSlice( java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Slice and returns populated collection. If targetClass is not null then elements will be of targetClass type. Selects all rows from ${SLICE}
public Slice getSlice( int Id )  throws java.sql.SQLExceptionExecutes query and returns single object. Selects by primary key from ${SLICE}
public Slice getSlice( int Id, Class targetClass )  throws java.sql.SQLExceptionExecutes query and returns single object of target class type. Target class must be return type compatible. Selects by primary key from ${SLICE}
public java.util.Collection getSlice( int p1, long p2, long p3 ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Slice.
public java.util.Collection getSlice( int p1, long p2, long p3, com.pavelvlasov.convert.Converter converter ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Slice. If converter is not null then elements will be results of conversion.
public java.util.Collection getSlice( int p1, long p2, long p3, Class targetClass ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Slice. If targetClass is not null then elements will be of targetClass type
public java.util.Collection getSlice( int p1, long p2, long p3, java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Slice and returns populated collection.
public java.util.Collection getSlice( int p1, long p2, long p3, java.util.Collection receiver, com.pavelvlasov.convert.Converter converter )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Slice and returns populated collection. If converter is not null then elements will be results of conversion.
public java.util.Collection getSlice( int p1, long p2, long p3, java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Slice and returns populated collection. If targetClass is not null then elements will be of targetClass type.
public java.util.Collection getSliceByMetric( int MetricId ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Slice. Selects rows from ${SLICE} by foreign key FK_SLICE_SQLC$METRIC columns value(s): METRIC_ID
public java.util.Collection getSliceByMetric( int MetricId, com.pavelvlasov.convert.Converter converter ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Slice. If converter is not null then elements will be results of conversion.Selects rows from ${SLICE} by foreign key FK_SLICE_SQLC$METRIC columns value(s): METRIC_ID
public java.util.Collection getSliceByMetric( int MetricId, Class targetClass ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Slice. If targetClass is not null then elements will be of targetClass typeSelects rows from ${SLICE} by foreign key FK_SLICE_SQLC$METRIC columns value(s): METRIC_ID
public java.util.Collection getSliceByMetric( int MetricId, java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Slice and returns populated collection. Selects rows from ${SLICE} by foreign key FK_SLICE_SQLC$METRIC columns value(s): METRIC_ID
public java.util.Collection getSliceByMetric( int MetricId, java.util.Collection receiver, com.pavelvlasov.convert.Converter converter )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Slice and returns populated collection. If converter is not null then elements will be results of conversion. Selects rows from ${SLICE} by foreign key FK_SLICE_SQLC$METRIC columns value(s): METRIC_ID
public java.util.Collection getSliceByMetric( int MetricId, java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Slice and returns populated collection. If targetClass is not null then elements will be of targetClass type. Selects rows from ${SLICE} by foreign key FK_SLICE_SQLC$METRIC columns value(s): METRIC_ID
public java.util.Collection getSliceTimeToLE( long TimeTo ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Slice. Selects row(s) with less or equal index value(s) ordered by index. Columns: TIME_TO
public java.util.Collection getSliceTimeToLE( long TimeTo, com.pavelvlasov.convert.Converter converter ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Slice. If converter is not null then elements will be results of conversion.Selects row(s) with less or equal index value(s) ordered by index. Columns: TIME_TO
public java.util.Collection getSliceTimeToLE( long TimeTo, Class targetClass ) Executes query, returns database backed collection with elements of type com.pavelvlasov.metrics.persistent.Slice. If targetClass is not null then elements will be of targetClass typeSelects row(s) with less or equal index value(s) ordered by index. Columns: TIME_TO
public java.util.Collection getSliceTimeToLE( long TimeTo, java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Slice and returns populated collection. Selects row(s) with less or equal index value(s) ordered by index. Columns: TIME_TO
public java.util.Collection getSliceTimeToLE( long TimeTo, java.util.Collection receiver, com.pavelvlasov.convert.Converter converter )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Slice and returns populated collection. If converter is not null then elements will be results of conversion. Selects row(s) with less or equal index value(s) ordered by index. Columns: TIME_TO
public java.util.Collection getSliceTimeToLE( long TimeTo, java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type com.pavelvlasov.metrics.persistent.Slice and returns populated collection. If targetClass is not null then elements will be of targetClass type. Selects row(s) with less or equal index value(s) ordered by index. Columns: TIME_TO
public int insertKindred( int Ancestor, int Descendant )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Inserts new record into ${KINDRED}
public int insertKindred( Kindred rowInterface )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Inserts new record into ${KINDRED}
public int insertMeasurement( int Id, int SliceId, double MeasurementValue, long MeasurementTime )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Inserts new record into ${MEASUREMENT}
public int insertMeasurement( Measurement rowInterface )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Inserts new record into ${MEASUREMENT}
public int insertMetric( int Id, String Name, Integer Parent )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Inserts new record into ${METRIC}
public int insertMetric( Metric rowInterface )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Inserts new record into ${METRIC}
public int insertPrimaryKey( String KeyName, int KeyValue )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Inserts new record into ${PRIMARY_KEY}
public int insertPrimaryKey( PrimaryKey rowInterface )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Inserts new record into ${PRIMARY_KEY}
public int insertSlice( int Id, int MetricId, long TimeFrom, long TimeTo, double Measurements, double Total, double MinValue, double MaxValue, double Deviation )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Inserts new record into ${SLICE}
public int insertSlice( Slice rowInterface )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Inserts new record into ${SLICE}
public int moveChildren( int p1, int p2 )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows.
public int moveSlices( int p1, int p2 )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows.
public int newRelative( int p1, int p2 )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Parameters: descendant, ancestor
public void processActiveMetrics( int p1, long p2, long p3, com.pavelvlasov.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row.
public void processKindred( com.pavelvlasov.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row. Selects all rows from ${KINDRED}
public void processMeasurement( com.pavelvlasov.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row. Selects all rows from ${MEASUREMENT}
public void processMetric( com.pavelvlasov.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row. Selects all rows from ${METRIC}
public void processMetricByParent( Integer Parent, com.pavelvlasov.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row. Selects rows from ${METRIC} by foreign key FK_METRIC_SQLC$PARENT columns value(s): PARENT
public void processMetricsToNormalize( com.pavelvlasov.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row.
public void processMetricValueEQ( Integer Parent, String Name, com.pavelvlasov.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row. Selects row(s) with equal index value(s): PARENT, NAME
public void processPrimaryKey( com.pavelvlasov.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row. Selects all rows from ${PRIMARY_KEY}
public void processRoots( com.pavelvlasov.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row.
public void processSlice( com.pavelvlasov.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row. Selects all rows from ${SLICE}
public void processSlice( int p1, long p2, long p3, com.pavelvlasov.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row.
public void processSliceByMetric( int MetricId, com.pavelvlasov.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row. Selects rows from ${SLICE} by foreign key FK_SLICE_SQLC$METRIC columns value(s): METRIC_ID
public void processSliceTimeToLE( long TimeTo, com.pavelvlasov.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row. Selects row(s) with less or equal index value(s) ordered by index. Columns: TIME_TO
public int updateMeasurement( Measurement rowInterface )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Updates record with by primary key in MEASUREMENT
public int updateMetric( Metric rowInterface )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Updates record with by primary key in METRIC
public int updatePrimaryKey( PrimaryKey rowInterface )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Updates record with by primary key in PRIMARY_KEY
public int updateSlice( Slice rowInterface )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Updates record with by primary key in SLICE