@FunctionalInterface public interface TermFactory
Term objects encapsulating a binding value. Classes implementing this factory interface
may return inline terms to render values as part of the query string, or bind markers to supply parameters on
statement creation/parameter binding.
A TermFactory is typically used with StatementBuilder.
| Modifier and Type | Method and Description |
|---|---|
default boolean |
canBindCollection()
Check whether the term factory accepts
Collection values to be created as Term. |
com.datastax.oss.driver.api.querybuilder.term.Term |
create(Object value)
Create a
Term for the given value. |
com.datastax.oss.driver.api.querybuilder.term.Term create(@Nullable Object value)
Term for the given value.value - the value to bind, can be null.Term for the given value.default boolean canBindCollection()
Collection values to be created as Term.true whether the term factory can Collection values.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.