EmbeddingColumnMapping Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. EmbeddingColumnMapping
- com.
Implements
public final class EmbeddingColumnMapping
implements JsonSerializable<EmbeddingColumnMapping>
Maps a SQL column to a vector field for embedding.
Constructor Summary
| Constructor | Description |
|---|---|
| EmbeddingColumnMapping(String name, String sourceField) |
Creates an instance of Embedding |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Embedding |
fromJson(JsonReader jsonReader)
Reads an instance of Embedding |
| String |
getName()
Get the name property: Target vector field name in the search index. |
| String |
getSourceField()
Get the source |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
EmbeddingColumnMapping
public EmbeddingColumnMapping(String name, String sourceField)
Creates an instance of EmbeddingColumnMapping class.
Parameters:
Method Details
fromJson
public static EmbeddingColumnMapping fromJson(JsonReader jsonReader)
Reads an instance of EmbeddingColumnMapping from the JsonReader.
Parameters:
Returns:
Throws:
getName
public String getName()
Get the name property: Target vector field name in the search index.
Returns:
getSourceField
public String getSourceField()
Get the sourceField property: SQL column used as input for embedding generation.
Returns: