public static SelectClause createStreamWildcard(String streamName){
  List<SelectClauseElement> selectList=new ArrayList<SelectClauseElement>();
  selectList.add(new SelectClauseStreamWildcard(streamName,null));
  return new SelectClause(StreamSelector.ISTREAM_ONLY,selectList);
}

public static SelectClause createStreamWildcard ( String streamName ) { List < SelectClauseElement > selectList = new ArrayList < SelectClauseElement > ( ) ; selectList . add ( new SelectClauseStreamWildcard ( streamName , null ) ) ; return new SelectClause ( StreamSelector . ISTREAM_ONLY , selectList ) ; }
creates a select - clause with a single stream wildcard selector ( e . g . select streamname . * from mystream as streamname )
