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