@Override public EnumStrategies createCopy() { return new EnumStrategies(); } }
@Override public <V> V invokeInContext(ExtensionMethod extensionMethod, ConfigRegistry config, Callable<V> task) throws Exception { return JdbiThreadLocals.invokeInContext(this.extensionMethod, extensionMethod, () -> JdbiThreadLocals.invokeInContext(this.config, config, task)); }
/** * Given an iterable object (which may be a iterator, iterable, primitive * or reference array), return an iterable over its (possibly boxed) elements. * @param iterable the iterable-like to create a real Iterable for * @return the created Iterable */ public static Iterable<Object> iterable(Object iterable) { return () -> of(iterable); }
private ArgumentBinder() { throw new UtilityClassException(); }
private SqlLoggerUtil() { throw new UtilityClassException(); }
private Unchecked() { throw new UtilityClassException(); }
private GuavaCollectors() { throw new UtilityClassException(); }
private GenericTypes() { throw new UtilityClassException(); }
private SqlAnnotations() { throw new UtilityClassException(); }
private JdbiClassUtils() { throw new UtilityClassException(); }
private JdbiOptionals() { throw new UtilityClassException(); }
private Sneaky() { throw new UtilityClassException(); }
private GuavaArguments() { throw new UtilityClassException(); }
private JdbiThreadLocals() { throw new UtilityClassException(); }
private MapCollectors() { throw new UtilityClassException(); }
private ReflectionMapperUtil() { throw new UtilityClassException(); }
private Reflection() { throw new UtilityClassException(); }
private OptionalCollectors() { throw new UtilityClassException(); }
private JdbiConstructors() { throw new UtilityClassException(); }
private VavrGenericMapUtil() { throw new UtilityClassException(); }