GetRecordOptions.Builder Class
- java.
lang. Object - com.
microsoft. semantickernel. data. vectorstorage. options. GetRecordOptions. Builder
- com.
Implements
public static class GetRecordOptions.Builder
implements SemanticKernelBuilder<GetRecordOptions>
A builder for GetRecordOptions.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| Builder() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Get |
build()
Builds the options. |
| Builder |
includeVectors(boolean includeVectors)
Sets whether to include vectors. |
| Builder |
setWildcardKeyMatching(boolean wildcardKeyMatching)
Sets whether to use wildcard key matching. |
Methods inherited from java.lang.Object
Constructor Details
Builder
public Builder()
Method Details
build
public GetRecordOptions build()
Builds the options.
Returns:
includeVectors
public GetRecordOptions.Builder includeVectors(boolean includeVectors)
Sets whether to include vectors.
Parameters:
Returns:
setWildcardKeyMatching
public GetRecordOptions.Builder setWildcardKeyMatching(boolean wildcardKeyMatching)
Sets whether to use wildcard key matching. Default is false. Wildcard key matching allows for matching multiple ids, for instance using "LIKE 'a%'" on a SQL query.
NOTE: Currently this is only supported by the SQL connectors.
Parameters:
Returns: