public Statement toStatement() {
    Statement statement = new Statement();
    statement.setQuery(queryBuilder.buildQuery());
    statement.getValues().addAll(
        Maps.toList(queryBuilder.getBindVariableMap(), StringValueMapEntry.class));
    return statement;
  }
public Statement toStatement ( ) { Statement statement = new Statement ( ) ; statement . setQuery ( queryBuilder . buildQuery ( ) ) ; statement . getValues ( ) . addAll ( Maps . toList ( queryBuilder . getBindVariableMap ( ) , StringValueMapEntry . class ) ) ; return statement ; }
Gets the {@link Statement} representing the state of this statement
builder.

@return the {@link Statement}