GetRecordOptions Class
- java.
lang. Object - com.
microsoft. semantickernel. data. vectorstorage. options. GetRecordOptions
- com.
public class GetRecordOptions
Options for getting a record.
Constructor Summary
| Constructor | Description |
|---|---|
| GetRecordOptions(boolean includeVectors) |
Creates a new instance of the Get |
| GetRecordOptions(boolean includeVectors, boolean wildcardKeyMatching) |
Creates a new instance of the Get |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static Builder |
builder()
Creates a new builder. |
| boolean |
isIncludeVectors()
Gets whether to include vectors. |
| boolean |
isWildcardKeyMatching()
Gets whether to use wildcard key matching. |
Methods inherited from java.lang.Object
Constructor Details
GetRecordOptions
public GetRecordOptions(boolean includeVectors)
Creates a new instance of the GetRecordOptions class.
Parameters:
GetRecordOptions
public GetRecordOptions(boolean includeVectors, boolean wildcardKeyMatching)
Creates a new instance of the GetRecordOptions class.
Parameters:
Method Details
builder
public static GetRecordOptions.Builder builder()
Creates a new builder.
Returns:
isIncludeVectors
public boolean isIncludeVectors()
Gets whether to include vectors.
Returns:
isWildcardKeyMatching
public boolean isWildcardKeyMatching()
Gets whether to use wildcard key matching.
Returns:
true if wildcard key matching is used; otherwise, false.