constructs a select plan for the table . the plan will use an indexselect , if possible . concode_field_sep Predicate mypred concode_elem_sep Map<String,IndexInfo> indexes concode_elem_sep Transaction tx concode_elem_sep TablePlan myplan concode_elem_sep Schema myschema concode_field_sep Plan addSelectPred concode_elem_sep Plan addJoinPred concode_elem_sep Plan makeProductPlan concode_elem_sep Plan makeIndexSelect concode_elem_sep Plan makeProductJoin concode_elem_sep Plan makeJoinPlan concode_elem_sep Plan makeIndexJoin
Plan function ( ) { Plan loc0 = makeIndexSelect ( ) ; if ( loc0 == null ) loc0 = myplan ; return addSelectPred ( loc0 ) ; }