1 21 22 package org.apache.derby.iapi.sql.compile; 23 24 import org.apache.derby.iapi.error.StandardException; 25 26 import org.apache.derby.iapi.util.JBitSet; 27 28 35 public interface RequiredRowOrdering 36 { 37 static final int SORT_REQUIRED = 1; 38 static final int ELIMINATE_DUPS = 2; 39 static final int NOTHING_REQUIRED = 3; 40 41 55 int sortRequired(RowOrdering rowOrdering) throws StandardException; 56 57 75 int sortRequired(RowOrdering rowOrdering, JBitSet tableMap) 76 throws StandardException; 77 78 90 void estimateCost(double estimatedInputRows, 91 RowOrdering rowOrdering, 92 CostEstimate resultCost) 93 throws StandardException; 94 95 99 void sortNeeded(); 100 101 106 void sortNotNeeded(); 107 108 boolean getSortNeeded(); 109 } 110 | Popular Tags |