Package org.hibernate.sql.exec.spi
Interface JdbcParametersList
-
- All Known Implementing Classes:
JdbcParametersList.JdbcParametersListMulti
,JdbcParametersList.JdbcParametersListSingleton
public interface JdbcParametersList
Conceptually similar to a List of JdbcParameters, but exposing a read-only immutable contract. Also as nice side effect, avoid any potential type pollution problems during access.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
JdbcParametersList.Builder
static class
JdbcParametersList.JdbcParametersListMulti
static class
JdbcParametersList.JdbcParametersListSingleton
-
Field Summary
Fields Modifier and Type Field Description static JdbcParametersList
EMPTY
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static JdbcParametersList
empty()
static JdbcParametersList
fromList(List<JdbcParameter> originalList)
JdbcParameter
get(int selectionIndex)
static JdbcParametersList.Builder
newBuilder()
static JdbcParametersList.Builder
newBuilder(int i)
static JdbcParametersList
singleton(JdbcParameter p)
int
size()
-
-
-
Field Detail
-
EMPTY
static final JdbcParametersList EMPTY
-
-
Method Detail
-
get
JdbcParameter get(int selectionIndex)
-
size
int size()
-
newBuilder
static JdbcParametersList.Builder newBuilder()
-
fromList
static JdbcParametersList fromList(List<JdbcParameter> originalList)
-
empty
static JdbcParametersList empty()
-
singleton
static JdbcParametersList singleton(JdbcParameter p)
-
newBuilder
static JdbcParametersList.Builder newBuilder(int i)
-
-