Package org.apache.iceberg.common
Class DynConstructors.Builder
- java.lang.Object
-
- org.apache.iceberg.common.DynConstructors.Builder
-
- Enclosing class:
- DynConstructors
public static class DynConstructors.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <C> DynConstructors.Ctor<C>
build()
<C> DynConstructors.Ctor<C>
buildChecked()
<T> DynConstructors.Builder
hiddenImpl(java.lang.Class<T> targetClass, java.lang.Class<?>... types)
DynConstructors.Builder
hiddenImpl(java.lang.String className, java.lang.Class<?>... types)
<T> DynConstructors.Builder
impl(java.lang.Class<T> targetClass, java.lang.Class<?>... types)
DynConstructors.Builder
impl(java.lang.String className, java.lang.Class<?>... types)
DynConstructors.Builder
loader(java.lang.ClassLoader newLoader)
Set theClassLoader
used to lookup classes by name.
-
-
-
Method Detail
-
loader
public DynConstructors.Builder loader(java.lang.ClassLoader newLoader)
Set theClassLoader
used to lookup classes by name.If not set, the current thread's ClassLoader is used.
- Parameters:
newLoader
- a ClassLoader- Returns:
- this Builder for method chaining
-
impl
public DynConstructors.Builder impl(java.lang.String className, java.lang.Class<?>... types)
-
impl
public <T> DynConstructors.Builder impl(java.lang.Class<T> targetClass, java.lang.Class<?>... types)
-
hiddenImpl
public DynConstructors.Builder hiddenImpl(java.lang.String className, java.lang.Class<?>... types)
-
hiddenImpl
public <T> DynConstructors.Builder hiddenImpl(java.lang.Class<T> targetClass, java.lang.Class<?>... types)
-
buildChecked
public <C> DynConstructors.Ctor<C> buildChecked() throws java.lang.NoSuchMethodException
- Throws:
java.lang.NoSuchMethodException
-
build
public <C> DynConstructors.Ctor<C> build()
-
-