Package io.weaviate.client.v1.batch.api
Class ReferencesBatcher.AutoBatchConfig
- java.lang.Object
-
- io.weaviate.client.v1.batch.api.ReferencesBatcher.AutoBatchConfig
-
- Enclosing class:
- ReferencesBatcher
public static class ReferencesBatcher.AutoBatchConfig extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReferencesBatcher.AutoBatchConfig.AutoBatchConfigBuilder
-
Field Summary
Fields Modifier and Type Field Description static intAWAIT_TERMINATION_MSstatic intBATCH_SIZEstatic intPOOL_SIZE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReferencesBatcher.AutoBatchConfig.AutoBatchConfigBuilderbuilder()static ReferencesBatcher.AutoBatchConfig.AutoBatchConfigBuilderdefaultConfig()intgetAwaitTerminationMs()intgetBatchSize()Consumer<Result<BatchReferenceResponse[]>>getCallback()intgetPoolSize()
-
-
-
Field Detail
-
BATCH_SIZE
public static final int BATCH_SIZE
- See Also:
- Constant Field Values
-
POOL_SIZE
public static final int POOL_SIZE
- See Also:
- Constant Field Values
-
AWAIT_TERMINATION_MS
public static final int AWAIT_TERMINATION_MS
- See Also:
- Constant Field Values
-
-
Method Detail
-
defaultConfig
public static ReferencesBatcher.AutoBatchConfig.AutoBatchConfigBuilder defaultConfig()
-
builder
public static ReferencesBatcher.AutoBatchConfig.AutoBatchConfigBuilder builder()
-
getBatchSize
public int getBatchSize()
-
getPoolSize
public int getPoolSize()
-
getAwaitTerminationMs
public int getAwaitTerminationMs()
-
getCallback
public Consumer<Result<BatchReferenceResponse[]>> getCallback()
-
-