kdl.prox.dbmgr
Interface Filter

All Known Implementing Classes:
ColumnComparisonFilter, ColumnDistinctFilter, ColumnInFilter, ColumnNotInFilter, ColumnValueFilter, ColumnValueLikeFilter, ColumnValueRandomFilter, ColumnValueRangeFilter, CompositeFilter, KeyInFilter, KeyNotInFilter

public interface Filter

Represents a filter that can be applied to a NST for certain operations, such as select or delete.

The main method of a class that implements the Filter interface is getApplyCmd This command should return the name of a BAT whose HEAD = unique IDs of rows in the destination NST that match the filter TAIL = HEAD The resulting BAT is used in the NST class to create a new filtered NST, or to delete or select rows. Those methods in the NST class take the filter and semijoin with it all the columns in the NST.


Method Summary
 java.lang.String getApplyCmd(NST onNST)
          Returns a string with all the commands that need to be executed to apply the filter
 java.lang.String getMILDescription()
          Returns a name that can be used as part of an MIL variable
 

Method Detail

getApplyCmd

java.lang.String getApplyCmd(NST onNST)
Returns a string with all the commands that need to be executed to apply the filter

Parameters:
onNST -
Returns:

getMILDescription

java.lang.String getMILDescription()
Returns a name that can be used as part of an MIL variable

Returns: