Uses of Class
net.odoframework.sql.util.Key
| Package | Description |
|---|---|
| net.odoframework.sql.util | |
| net.odoframework.sql.util.schema |
-
Uses of Key in net.odoframework.sql.util
Methods in net.odoframework.sql.util that return Key Modifier and Type Method Description static KeyKey. createKey(ColumnIndex index, ResultSet rs)static KeyKey. of(Object value)static KeyKey. of(String column, Object value)static KeyKey. of(String column1, Object value1, String column2, Object value2)KeyKey. set(String column, Object value)Methods in net.odoframework.sql.util that return types with arguments of type Key Modifier and Type Method Description <T> Collection<Pair<Key,MappedInstance<T>>>MappingContext. getInstances(String table)Methods in net.odoframework.sql.util with parameters of type Key Modifier and Type Method Description Optional<T>DefaultRepository. get(Key key, int fetchDepth)<T> Optional<T>MappingContext. get(String table, Key key)Optional<T>Repository. get(Key key, int fetchDepth)<T> Optional<MappedInstance<T>>MappingContext. getInstance(String table, Key key)<T> TMappingContext. set(String table, Key key, SQLSupplier<T> instance)<T> TMappingContext. set(String table, Key key, T instance)MappingContextMappingContext. setReference(String table, String id, Key pk, Key foreignKey)Constructors in net.odoframework.sql.util with parameters of type Key Constructor Description MappedInstance(T instance, Key primaryKey) -
Uses of Key in net.odoframework.sql.util.schema
Methods in net.odoframework.sql.util.schema that return types with arguments of type Key Modifier and Type Method Description Pair<Key,T>Table. mapInstance(MappingContext mappingContext, ResultSet rs)Methods in net.odoframework.sql.util.schema with parameters of type Key Modifier and Type Method Description voidManyToOne. map(ResultSet rs, Schema schema, MappingContext context, Key ownerKey, T result)voidOneToMany. map(ResultSet rs, Schema schema, MappingContext context, Key ownerKey, T result)voidRelation. map(ResultSet rs, Schema schema, MappingContext context, Key ownerKey, T result)Method parameters in net.odoframework.sql.util.schema with type arguments of type Key Modifier and Type Method Description TableBuilder<T>TableBuilder. constructor(Function<Key,T> constructor)Constructor parameters in net.odoframework.sql.util.schema with type arguments of type Key Constructor Description Table(String name, Class<T> type, Function<Key,T> constructor, Set<Column<T,?,?>> primaryKey)Table(String name, Class<T> type, Function<Key,T> constructor, PrimaryKey<T> primaryKey)