com.scalar.db.sql.BindMarker Maven / Gradle / Ivy
The newest version!
package com.scalar.db.sql;
/** A bind marker in the query. It can be positional or named. */
public interface BindMarker extends Term {
/**
* Returns a positional bind marker.
*
* @return a positional bind marker
*/
static BindMarker positional() {
return PositionalBindMarker.INSTANCE;
}
/**
* Returns a named bind marker.
*
* @param name the name of the bind marker
* @return a named bind marker
*/
static BindMarker named(String name) {
return new NamedBindMarker(name);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy