1 17 package org.apache.ws.jaxme.sqls; 18 19 import java.util.Iterator ; 20 21 22 26 public interface SelectStatement extends ConstrainedStatement { 27 30 public interface OrderColumn { 31 35 public Object getColumn(); 36 37 40 public boolean isDescending(); 41 } 42 43 45 public SelectTableReference getSelectTableReference(); 46 47 49 public Iterator getSelectTableReferences(); 50 51 53 public void addOrderColumn(OrderColumn pColumn); 54 55 58 public void addOrderColumn(Object pColumn); 59 60 65 public void addOrderColumn(Object pColumn, boolean pDescending); 66 67 70 public void addResultColumn(ColumnReference pColumn); 71 72 74 public Iterator getResultColumns(); 75 76 80 public Iterator getOrderColumns(); 81 82 85 public void setDistinct(boolean pDistinct); 86 87 90 public boolean isDistinct(); 91 92 96 public void setMaxRows(int pMaxRows); 97 98 101 public int getMaxRows(); 102 103 107 public void setSkippedRows(int pSkippedRows); 108 109 112 public int getSkippedRows(); 113 114 117 public Table createView(Table.Name pName); 118 119 120 123 public Table createView(String pName); 124 } 125 | Popular Tags |