public static InsertIntoClause create(String streamName,String[] columns,StreamSelector streamSelector){
  if (streamSelector == StreamSelector.RSTREAM_ISTREAM_BOTH) {
    throw new IllegalArgumentException("Insert into only allows istream or rstream selection, not both");
  }
  return new InsertIntoClause(streamName,Arrays.asList(columns),streamSelector);
}

public static InsertIntoClause create ( String streamName , String [ ] columns , StreamSelector streamSelector ) { if ( streamSelector == StreamSelector . RSTREAM_ISTREAM_BOTH ) { throw new IllegalArgumentException ( "Insert into only allows istream or rstream selection, not both" ) ; } return new InsertIntoClause ( streamName , Arrays . asList ( columns ) , streamSelector ) ; }
creates the insert - into clause .
