A B C E F M N O P S T W
A
- ALL_FIELDS - Static variable in class net.morimekta.providence.jdbi.v3.MessageRowMapper
- apply(int, PreparedStatement, StatementContext) - Method in class net.morimekta.providence.jdbi.v3.MessageFieldArgument
B
- build() - Method in class net.morimekta.providence.jdbi.v3.MessageInserter.Builder
- Builder(String) - Constructor for class net.morimekta.providence.jdbi.v3.MessageInserter.Builder
-
Deprecated.since 1.7.0
- Builder(PMessageDescriptor<M, F>, String) - Constructor for class net.morimekta.providence.jdbi.v3.MessageInserter.Builder
-
Create a message inserter builder.
C
- columnsFromAllFields() - Static method in class net.morimekta.providence.jdbi.v3.ProvidenceJdbi
-
With all column with default types.
E
- execute(Handle, Collection<M>) - Method in class net.morimekta.providence.jdbi.v3.MessageInserter
- execute(Handle, M...) - Method in class net.morimekta.providence.jdbi.v3.MessageInserter
F
- find(String, StatementContext) - Method in class net.morimekta.providence.jdbi.v3.MessageNamedArgumentFinder
- forMessage(String, M, ProvidenceJdbi.FieldType...) - Static method in class net.morimekta.providence.jdbi.v3.ProvidenceJdbi
-
Get named argument finder for message.
- forMessage(M, ProvidenceJdbi.FieldType...) - Static method in class net.morimekta.providence.jdbi.v3.ProvidenceJdbi
-
Get named argument finder for message.
M
- map(ResultSet, StatementContext) - Method in class net.morimekta.providence.jdbi.v3.MessageRowMapper
- MessageFieldArgument<M extends net.morimekta.providence.PMessage<M,F>,F extends net.morimekta.providence.descriptor.PField> - Class in net.morimekta.providence.jdbi.v3
-
Smart mapping of message fields to SQL bound argument.
- MessageFieldArgument(M, F) - Constructor for class net.morimekta.providence.jdbi.v3.MessageFieldArgument
-
Create a message field argument.
- MessageFieldArgument(M, F, int) - Constructor for class net.morimekta.providence.jdbi.v3.MessageFieldArgument
-
Create a message field argument.
- MessageInserter<M extends net.morimekta.providence.PMessage<M,F>,F extends net.morimekta.providence.descriptor.PField> - Class in net.morimekta.providence.jdbi.v3
-
Helper class to handle inserting content from messages into a table.
- MessageInserter.Builder<M extends net.morimekta.providence.PMessage<M,F>,F extends net.morimekta.providence.descriptor.PField> - Class in net.morimekta.providence.jdbi.v3
- MessageNamedArgumentFinder<M extends net.morimekta.providence.PMessage<M,F>,F extends net.morimekta.providence.descriptor.PField> - Class in net.morimekta.providence.jdbi.v3
-
A
NamedArgumentFinderimplementation that uses a message and finds values based on the thrift declared field names. - MessageNamedArgumentFinder(String, M, Map<PField, Integer>) - Constructor for class net.morimekta.providence.jdbi.v3.MessageNamedArgumentFinder
-
Create a named argument finder.
- MessageRowMapper<M extends net.morimekta.providence.PMessage<M,F>,F extends net.morimekta.providence.descriptor.PField> - Class in net.morimekta.providence.jdbi.v3
-
Map a result set to a message based on meta information and the message descriptor.
- MessageRowMapper(String, PMessageDescriptor<M, F>) - Constructor for class net.morimekta.providence.jdbi.v3.MessageRowMapper
-
Create a message row mapper.
- MessageRowMapper(String, PMessageDescriptor<M, F>, Map<String, F>) - Constructor for class net.morimekta.providence.jdbi.v3.MessageRowMapper
-
Create a message row mapper.
- MessageRowMapper(PMessageDescriptor<M, F>) - Constructor for class net.morimekta.providence.jdbi.v3.MessageRowMapper
-
Create a message row mapper.
- MessageRowMapper(PMessageDescriptor<M, F>, Map<String, F>) - Constructor for class net.morimekta.providence.jdbi.v3.MessageRowMapper
-
Create a message row mapper.
N
- net.morimekta.providence.jdbi.v3 - package net.morimekta.providence.jdbi.v3
O
- onDuplicateKeyIgnore() - Method in class net.morimekta.providence.jdbi.v3.MessageInserter.Builder
-
On duplicate keys ignore updates.
- onDuplicateKeyUpdate(F...) - Method in class net.morimekta.providence.jdbi.v3.MessageInserter.Builder
-
On duplicate keys update the given fields.
- onDuplicateKeyUpdate(String...) - Method in class net.morimekta.providence.jdbi.v3.MessageInserter.Builder
-
On duplicate keys update the given columns.
- onDuplicateKeyUpdate(Collection<F>) - Method in class net.morimekta.providence.jdbi.v3.MessageInserter.Builder
-
On duplicate keys update the given fields.
- onDuplicateKeyUpdateAllExcept(F...) - Method in class net.morimekta.providence.jdbi.v3.MessageInserter.Builder
-
On duplicate keys update all except the given fields.
- onDuplicateKeyUpdateAllExcept(String...) - Method in class net.morimekta.providence.jdbi.v3.MessageInserter.Builder
-
On duplicate keys update all except the given fields.
- onDuplicateKeyUpdateAllExcept(Collection<F>) - Method in class net.morimekta.providence.jdbi.v3.MessageInserter.Builder
-
On duplicate keys update all except the given fields.
P
- ProvidenceJdbi - Class in net.morimekta.providence.jdbi.v3
-
Utility class and helper to make mappers and argument helpers for JDBI queries and updates.
- ProvidenceJdbi() - Constructor for class net.morimekta.providence.jdbi.v3.ProvidenceJdbi
- ProvidenceJdbi.FieldType - Class in net.morimekta.providence.jdbi.v3
- ProvidenceJdbi.MappedField<F extends net.morimekta.providence.descriptor.PField> - Class in net.morimekta.providence.jdbi.v3
S
- set(F...) - Method in class net.morimekta.providence.jdbi.v3.MessageInserter.Builder
-
Set the specific fields with default name and type.
- set(F, int) - Method in class net.morimekta.providence.jdbi.v3.MessageInserter.Builder
-
Set the specific field with specific type and default name.
- set(String, F) - Method in class net.morimekta.providence.jdbi.v3.MessageInserter.Builder
-
Set the specific field with name and default type.
- set(String, F, int) - Method in class net.morimekta.providence.jdbi.v3.MessageInserter.Builder
-
Set the specific field with specific name and type.
- set(Collection<F>) - Method in class net.morimekta.providence.jdbi.v3.MessageInserter.Builder
-
Set the specific fields with default name and type.
- setAll() - Method in class net.morimekta.providence.jdbi.v3.MessageInserter.Builder
-
Set all fields with defaults.
- setAllExcept(F...) - Method in class net.morimekta.providence.jdbi.v3.MessageInserter.Builder
-
Set all fields with defaults.
- setAllExcept(Collection<F>) - Method in class net.morimekta.providence.jdbi.v3.MessageInserter.Builder
-
Set all fields with defaults.
- setAllExcept(PMessageDescriptor<M, F>, F...) - Method in class net.morimekta.providence.jdbi.v3.MessageInserter.Builder
-
Deprecated.since 1.7.0
- setAllExcept(PMessageDescriptor<M, F>, Collection<F>) - Method in class net.morimekta.providence.jdbi.v3.MessageInserter.Builder
-
Deprecated.since 1.7.0
T
- toField(M, F) - Static method in class net.morimekta.providence.jdbi.v3.ProvidenceJdbi
-
Bind to the given field for the message.
- toField(M, F, int) - Static method in class net.morimekta.providence.jdbi.v3.ProvidenceJdbi
-
Bind to the given field for the message.
- toMessage(String, PMessageDescriptor<M, F>, ProvidenceJdbi.MappedField<F>...) - Static method in class net.morimekta.providence.jdbi.v3.ProvidenceJdbi
-
Bind to message using row mapper.
- toMessage(PMessageDescriptor<M, F>, ProvidenceJdbi.MappedField<F>...) - Static method in class net.morimekta.providence.jdbi.v3.ProvidenceJdbi
-
Bind to message using row mapper.
W
- withColumn(F) - Static method in class net.morimekta.providence.jdbi.v3.ProvidenceJdbi
-
With column mapped to field using the field name.
- withColumn(String, F) - Static method in class net.morimekta.providence.jdbi.v3.ProvidenceJdbi
-
With column mapped to field.
- withType(PField, int) - Static method in class net.morimekta.providence.jdbi.v3.ProvidenceJdbi
-
With field mapped to SQL type.