Package io.weaviate.client.v1.schema.api
Class PropertyCreator
- java.lang.Object
-
- io.weaviate.client.base.BaseClient<Property>
-
- io.weaviate.client.v1.schema.api.PropertyCreator
-
- All Implemented Interfaces:
ClientResult<Boolean>
public class PropertyCreator extends BaseClient<Property> implements ClientResult<Boolean>
-
-
Constructor Summary
Constructors Constructor Description PropertyCreator(HttpClient httpClient, Config config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Result<Boolean>run()PropertyCreatorwithClassName(String className)PropertyCreatorwithProperty(Property property)-
Methods inherited from class io.weaviate.client.base.BaseClient
sendDeleteRequest, sendGetRequest, sendHeadRequest, sendPatchRequest, sendPostRequest, sendPutRequest
-
-
-
-
Constructor Detail
-
PropertyCreator
public PropertyCreator(HttpClient httpClient, Config config)
-
-
Method Detail
-
withClassName
public PropertyCreator withClassName(String className)
-
withProperty
public PropertyCreator withProperty(Property property)
-
run
public Result<Boolean> run()
- Specified by:
runin interfaceClientResult<Boolean>
-
-