public Statement toStatement() {
    Statement statement = new Statement();
    statement.setQuery(queryBuilder.buildQuery());
    statement.setValues(Maps.toList(queryBuilder.getBindVariableMap(), String_ValueMapEntry.class)
        .toArray(new String_ValueMapEntry[] {}));
    return statement;
  }
public Statement toStatement ( ) { Statement statement = new Statement ( ) ; statement . setQuery ( queryBuilder . buildQuery ( ) ) ; statement . setValues ( Maps . toList ( queryBuilder . getBindVariableMap ( ) , String_ValueMapEntry . class ) . toArray ( new String_ValueMapEntry [ ] { } ) ) ; return statement ; }
Gets the {@link Statement} representing the state of this statement
builder.

@return the {@link Statement}