A B C E F G H M N O P R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accepts(Class<?>, Object, StatementContext) - Method in class net.morimekta.providence.jdbi.v2.EnumValueArgumentFactory
- acceptUnknown() - Method in annotation type net.morimekta.providence.jdbi.v2.annotations.RegisterEnumValueMapper
- ALL_FIELDS - Static variable in class net.morimekta.providence.jdbi.v2.MessageRowMapper
- apply(int, PreparedStatement, StatementContext) - Method in class net.morimekta.providence.jdbi.v2.annotations.BindEnumName.EnumNameArgument
- apply(int, PreparedStatement, StatementContext) - Method in class net.morimekta.providence.jdbi.v2.EnumValueArgument
- apply(int, PreparedStatement, StatementContext) - Method in class net.morimekta.providence.jdbi.v2.MessageFieldArgument
- apply(int, PreparedStatement, StatementContext) - Method in class net.morimekta.providence.jdbi.v2.util.NullArgument
B
- BindEnumName - Annotation Type in net.morimekta.providence.jdbi.v2.annotations
- BindEnumName.EnumNameArgument - Class in net.morimekta.providence.jdbi.v2.annotations
- BindEnumName.Factory - Class in net.morimekta.providence.jdbi.v2.annotations
- BindEnumValue - Annotation Type in net.morimekta.providence.jdbi.v2.annotations
- BindEnumValue.Factory - Class in net.morimekta.providence.jdbi.v2.annotations
- BindField - Annotation Type in net.morimekta.providence.jdbi.v2.annotations
- BindMessage - Annotation Type in net.morimekta.providence.jdbi.v2.annotations
-
Annotation to bind providence message objects as bean-like arguments, but using the declared field names instead of magic java bean names.
- BindMessage.Factory - Class in net.morimekta.providence.jdbi.v2.annotations
- BindType - Annotation Type in net.morimekta.providence.jdbi.v2.annotations
- build() - Method in class net.morimekta.providence.jdbi.v2.MessageUpserter.Builder
- build(Class<?>, PEnumValue, StatementContext) - Method in class net.morimekta.providence.jdbi.v2.EnumValueArgumentFactory
- build(BindEnumName) - Method in class net.morimekta.providence.jdbi.v2.annotations.BindEnumName.Factory
- build(BindEnumValue) - Method in class net.morimekta.providence.jdbi.v2.annotations.BindEnumValue.Factory
- build(BindMessage) - Method in class net.morimekta.providence.jdbi.v2.annotations.BindMessage.Factory
- Builder(PMessageDescriptor<M>, String) - Constructor for class net.morimekta.providence.jdbi.v2.MessageUpserter.Builder
-
Create a message inserter builder.
C
- column() - Method in annotation type net.morimekta.providence.jdbi.v2.annotations.BindField
- columnsFromAllFields() - Static method in class net.morimekta.providence.jdbi.v2.ProvidenceJdbi
-
With all column with default types.
- createForMethod(Annotation, Class, Method) - Method in class net.morimekta.providence.jdbi.v2.annotations.RegisterEnumValueMapper.Factory
- createForMethod(Annotation, Class, Method) - Method in class net.morimekta.providence.jdbi.v2.annotations.RegisterEnumValueMappers.Factory
- createForMethod(Annotation, Class, Method) - Method in class net.morimekta.providence.jdbi.v2.annotations.RegisterMessageMapper.Factory
- createForMethod(Annotation, Class, Method) - Method in class net.morimekta.providence.jdbi.v2.annotations.RegisterMessageMappers.Factory
- createForParameter(Annotation, Class, Method, Object) - Method in class net.morimekta.providence.jdbi.v2.annotations.RegisterEnumValueMapper.Factory
- createForParameter(Annotation, Class, Method, Object) - Method in class net.morimekta.providence.jdbi.v2.annotations.RegisterEnumValueMappers.Factory
- createForParameter(Annotation, Class, Method, Object) - Method in class net.morimekta.providence.jdbi.v2.annotations.RegisterMessageMapper.Factory
- createForParameter(Annotation, Class, Method, Object) - Method in class net.morimekta.providence.jdbi.v2.annotations.RegisterMessageMappers.Factory
- createForType(Annotation, Class) - Method in class net.morimekta.providence.jdbi.v2.annotations.RegisterEnumValueMapper.Factory
- createForType(Annotation, Class) - Method in class net.morimekta.providence.jdbi.v2.annotations.RegisterEnumValueMappers.Factory
- createForType(Annotation, Class) - Method in class net.morimekta.providence.jdbi.v2.annotations.RegisterMessageMapper.Factory
- createForType(Annotation, Class) - Method in class net.morimekta.providence.jdbi.v2.annotations.RegisterMessageMappers.Factory
E
- EnumValueArgument - Class in net.morimekta.providence.jdbi.v2
- EnumValueArgument(PEnumValue) - Constructor for class net.morimekta.providence.jdbi.v2.EnumValueArgument
- EnumValueArgumentFactory - Class in net.morimekta.providence.jdbi.v2
- EnumValueArgumentFactory() - Constructor for class net.morimekta.providence.jdbi.v2.EnumValueArgumentFactory
- EnumValueArgumentFactory(Class<?>) - Constructor for class net.morimekta.providence.jdbi.v2.EnumValueArgumentFactory
- EnumValueMapper<E extends net.morimekta.providence.PEnumValue<E>> - Class in net.morimekta.providence.jdbi.v2
-
Map a result set to a message based on meta information and the message descriptor.
- EnumValueMapper(boolean, PEnumDescriptor<E>) - Constructor for class net.morimekta.providence.jdbi.v2.EnumValueMapper
-
Create a enum value column mapper.
- equals(Object) - Method in class net.morimekta.providence.jdbi.v2.MessageFieldArgument
- execute(Handle, Collection<MB>) - Method in class net.morimekta.providence.jdbi.v2.MessageUpserter
- execute(Handle, PMessageOrBuilder<M>...) - Method in class net.morimekta.providence.jdbi.v2.MessageUpserter
F
- Factory() - Constructor for class net.morimekta.providence.jdbi.v2.annotations.BindEnumName.Factory
- Factory() - Constructor for class net.morimekta.providence.jdbi.v2.annotations.BindEnumValue.Factory
- Factory() - Constructor for class net.morimekta.providence.jdbi.v2.annotations.BindMessage.Factory
- Factory() - Constructor for class net.morimekta.providence.jdbi.v2.annotations.RegisterEnumValueMapper.Factory
- Factory() - Constructor for class net.morimekta.providence.jdbi.v2.annotations.RegisterEnumValueMappers.Factory
- Factory() - Constructor for class net.morimekta.providence.jdbi.v2.annotations.RegisterMessageMapper.Factory
- Factory() - Constructor for class net.morimekta.providence.jdbi.v2.annotations.RegisterMessageMappers.Factory
- field - Variable in class net.morimekta.providence.jdbi.v2.util.FieldType
- field() - Method in annotation type net.morimekta.providence.jdbi.v2.annotations.BindField
- fields() - Method in annotation type net.morimekta.providence.jdbi.v2.annotations.RegisterMessageMapper
- FieldType<M extends net.morimekta.providence.PMessage<M>> - Class in net.morimekta.providence.jdbi.v2.util
- FieldType(PField<M>, int) - Constructor for class net.morimekta.providence.jdbi.v2.util.FieldType
- find(String) - Method in class net.morimekta.providence.jdbi.v2.MessageNamedArgumentFinder
- forMessage(String, PMessageOrBuilder<M>, FieldType<M>...) - Static method in class net.morimekta.providence.jdbi.v2.ProvidenceJdbi
-
Get named argument finder for message.
- forMessage(M, FieldType<M>...) - Static method in class net.morimekta.providence.jdbi.v2.ProvidenceJdbi
-
Get named argument finder for message.
G
- getType() - Method in class net.morimekta.providence.jdbi.v2.EnumValueMapper
H
- hashCode() - Method in class net.morimekta.providence.jdbi.v2.MessageFieldArgument
M
- map(int, ResultSet, StatementContext) - Method in class net.morimekta.providence.jdbi.v2.MessageRowMapper
- mapColumn(ResultSet, int, StatementContext) - Method in class net.morimekta.providence.jdbi.v2.EnumValueMapper
- mapColumn(ResultSet, String, StatementContext) - Method in class net.morimekta.providence.jdbi.v2.EnumValueMapper
- MessageFieldArgument<M extends net.morimekta.providence.PMessage<M>> - Class in net.morimekta.providence.jdbi.v2
-
Smart mapping of message fields to SQL bound argument.
- MessageFieldArgument(PMessageOrBuilder<M>, PField<M>) - Constructor for class net.morimekta.providence.jdbi.v2.MessageFieldArgument
-
Create a message field argument.
- MessageFieldArgument(PMessageOrBuilder<M>, PField<M>, int) - Constructor for class net.morimekta.providence.jdbi.v2.MessageFieldArgument
-
Create a message field argument.
- MessageNamedArgumentFinder<M extends net.morimekta.providence.PMessage<M>> - Class in net.morimekta.providence.jdbi.v2
-
A
NamedArgumentFinder
implementation that uses a message and finds values based on the thrift declared field names. - MessageNamedArgumentFinder(String, PMessageOrBuilder<M>, Map<PField<M>, Integer>) - Constructor for class net.morimekta.providence.jdbi.v2.MessageNamedArgumentFinder
-
Create a named argument finder.
- MessageRowMapper<M extends net.morimekta.providence.PMessage<M>> - Class in net.morimekta.providence.jdbi.v2
-
Map a result set to a message based on meta information and the message descriptor.
- MessageRowMapper(String, PMessageDescriptor<M>) - Constructor for class net.morimekta.providence.jdbi.v2.MessageRowMapper
-
Create a message row mapper.
- MessageRowMapper(String, PMessageDescriptor<M>, Map<String, PField<M>>) - Constructor for class net.morimekta.providence.jdbi.v2.MessageRowMapper
-
Create a message row mapper.
- MessageRowMapper(PMessageDescriptor<M>) - Constructor for class net.morimekta.providence.jdbi.v2.MessageRowMapper
-
Create a message row mapper.
- MessageRowMapper(PMessageDescriptor<M>, Map<String, PField<M>>) - Constructor for class net.morimekta.providence.jdbi.v2.MessageRowMapper
-
Create a message row mapper.
- MessageUpserter<M extends net.morimekta.providence.PMessage<M>> - Class in net.morimekta.providence.jdbi.v2
-
Helper class to handle inserting content from messages into a table.
- MessageUpserter.Builder<M extends net.morimekta.providence.PMessage<M>> - Class in net.morimekta.providence.jdbi.v2
N
- name() - Method in annotation type net.morimekta.providence.jdbi.v2.annotations.BindType
- net.morimekta.providence.jdbi.v2 - package net.morimekta.providence.jdbi.v2
- net.morimekta.providence.jdbi.v2.annotations - package net.morimekta.providence.jdbi.v2.annotations
- net.morimekta.providence.jdbi.v2.util - package net.morimekta.providence.jdbi.v2.util
- NullArgument - Class in net.morimekta.providence.jdbi.v2.util
- NullArgument(int) - Constructor for class net.morimekta.providence.jdbi.v2.util.NullArgument
O
- onDuplicateKeyIgnore() - Method in class net.morimekta.providence.jdbi.v2.MessageUpserter.Builder
-
On duplicate keys ignore updates.
- onDuplicateKeyUpdate(String...) - Method in class net.morimekta.providence.jdbi.v2.MessageUpserter.Builder
-
On duplicate keys update the given columns.
- onDuplicateKeyUpdate(Collection<PField<M>>) - Method in class net.morimekta.providence.jdbi.v2.MessageUpserter.Builder
-
On duplicate keys update the given fields.
- onDuplicateKeyUpdate(PField<M>...) - Method in class net.morimekta.providence.jdbi.v2.MessageUpserter.Builder
-
On duplicate keys update the given fields.
- onDuplicateKeyUpdateAllExcept(String...) - Method in class net.morimekta.providence.jdbi.v2.MessageUpserter.Builder
-
On duplicate keys update all except the given fields.
- onDuplicateKeyUpdateAllExcept(Collection<PField<M>>) - Method in class net.morimekta.providence.jdbi.v2.MessageUpserter.Builder
-
On duplicate keys update all except the given fields.
- onDuplicateKeyUpdateAllExcept(PField<M>...) - Method in class net.morimekta.providence.jdbi.v2.MessageUpserter.Builder
-
On duplicate keys update all except the given fields.
P
- ProvidenceJdbi - Class in net.morimekta.providence.jdbi.v2
-
Utility class and helper to make mappers and argument helpers for JDBI queries and updates.
- ProvidenceJdbi() - Constructor for class net.morimekta.providence.jdbi.v2.ProvidenceJdbi
- ProvidenceJdbi.MappedField<M extends net.morimekta.providence.PMessage<M>> - Class in net.morimekta.providence.jdbi.v2
R
- RegisterEnumValueMapper - Annotation Type in net.morimekta.providence.jdbi.v2.annotations
- RegisterEnumValueMapper.Factory - Class in net.morimekta.providence.jdbi.v2.annotations
- RegisterEnumValueMappers - Annotation Type in net.morimekta.providence.jdbi.v2.annotations
- RegisterEnumValueMappers.Factory - Class in net.morimekta.providence.jdbi.v2.annotations
- RegisterMessageMapper - Annotation Type in net.morimekta.providence.jdbi.v2.annotations
- RegisterMessageMapper.Factory - Class in net.morimekta.providence.jdbi.v2.annotations
- RegisterMessageMappers - Annotation Type in net.morimekta.providence.jdbi.v2.annotations
- RegisterMessageMappers.Factory - Class in net.morimekta.providence.jdbi.v2.annotations
S
- set(String, PField<M>) - Method in class net.morimekta.providence.jdbi.v2.MessageUpserter.Builder
-
Set the specific field with name and default type.
- set(String, PField<M>, int) - Method in class net.morimekta.providence.jdbi.v2.MessageUpserter.Builder
-
Set the specific field with specific name and type.
- set(Collection<PField<M>>) - Method in class net.morimekta.providence.jdbi.v2.MessageUpserter.Builder
-
Set the specific fields with default name and type.
- set(PField<M>...) - Method in class net.morimekta.providence.jdbi.v2.MessageUpserter.Builder
-
Set the specific fields with default name and type.
- set(PField<M>, int) - Method in class net.morimekta.providence.jdbi.v2.MessageUpserter.Builder
-
Set the specific field with specific type and default name.
- setAll() - Method in class net.morimekta.providence.jdbi.v2.MessageUpserter.Builder
-
Set all fields not already handled with default name and type.
- setAllExcept(Collection<PField<M>>) - Method in class net.morimekta.providence.jdbi.v2.MessageUpserter.Builder
-
Set all fields with defaults.
- setAllExcept(PField<M>...) - Method in class net.morimekta.providence.jdbi.v2.MessageUpserter.Builder
-
Set all fields with defaults.
T
- toField(PMessageOrBuilder<M>, PField<M>) - Static method in class net.morimekta.providence.jdbi.v2.ProvidenceJdbi
-
Bind to the given field for the message.
- toField(PMessageOrBuilder<M>, PField<M>, int) - Static method in class net.morimekta.providence.jdbi.v2.ProvidenceJdbi
-
Bind to the given field for the message.
- toMessage(String, PMessageDescriptor<M>, ProvidenceJdbi.MappedField<M>...) - Static method in class net.morimekta.providence.jdbi.v2.ProvidenceJdbi
-
Bind to message using row mapper.
- toMessage(PMessageDescriptor<M>, ProvidenceJdbi.MappedField<M>...) - Static method in class net.morimekta.providence.jdbi.v2.ProvidenceJdbi
-
Bind to message using row mapper.
- toString() - Method in class net.morimekta.providence.jdbi.v2.EnumValueMapper
- toString() - Method in class net.morimekta.providence.jdbi.v2.MessageFieldArgument
- toString() - Method in class net.morimekta.providence.jdbi.v2.MessageNamedArgumentFinder
- toString() - Method in class net.morimekta.providence.jdbi.v2.MessageRowMapper
- toString() - Method in class net.morimekta.providence.jdbi.v2.MessageUpserter
- type - Variable in class net.morimekta.providence.jdbi.v2.util.FieldType
- type() - Method in annotation type net.morimekta.providence.jdbi.v2.annotations.BindType
-
See
Types
for actual types to be used here. - types() - Method in annotation type net.morimekta.providence.jdbi.v2.annotations.BindMessage
V
- value() - Method in annotation type net.morimekta.providence.jdbi.v2.annotations.BindEnumName
- value() - Method in annotation type net.morimekta.providence.jdbi.v2.annotations.BindEnumValue
- value() - Method in annotation type net.morimekta.providence.jdbi.v2.annotations.BindMessage
- value() - Method in annotation type net.morimekta.providence.jdbi.v2.annotations.RegisterEnumValueMapper
- value() - Method in annotation type net.morimekta.providence.jdbi.v2.annotations.RegisterEnumValueMappers
- value() - Method in annotation type net.morimekta.providence.jdbi.v2.annotations.RegisterMessageMapper
- value() - Method in annotation type net.morimekta.providence.jdbi.v2.annotations.RegisterMessageMappers
W
- withColumn(String, PField<M>) - Static method in class net.morimekta.providence.jdbi.v2.ProvidenceJdbi
-
With column mapped to field.
- withColumn(PField<M>) - Static method in class net.morimekta.providence.jdbi.v2.ProvidenceJdbi
-
With column mapped to field using the field name.
- withType(PField<M>, int) - Static method in class net.morimekta.providence.jdbi.v2.ProvidenceJdbi
-
With field mapped to SQL type.
All Classes All Packages