Package com.algolia.model.ingestion
Class SourceCSV
java.lang.Object
com.algolia.model.ingestion.SourceCSV
- All Implemented Interfaces:
SourceInput,SourceUpdateInput
SourceCSV
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.algolia.model.ingestion.SourceInput
SourceInput.DeserializerNested classes/interfaces inherited from interface com.algolia.model.ingestion.SourceUpdateInput
SourceUpdateInput.Deserializer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe character used to split the value on each line, default to a comma (\\r, \\n, 0xFFFD, and space are forbidden).Mapping of type for every column.Get methodThe name of the column that contains the unique ID, used as `objectID` in Algolia.getUrl()The URL of the file.inthashCode()putMapping(String key, MappingTypeCSV mappingItem) setDelimiter(String delimiter) setMapping(Map<String, MappingTypeCSV> mapping) setMethod(MethodType method) setUniqueIDColumn(String uniqueIDColumn) toString()
-
Constructor Details
-
SourceCSV
public SourceCSV()
-
-
Method Details
-
setUrl
-
getUrl
The URL of the file. -
setUniqueIDColumn
-
getUniqueIDColumn
The name of the column that contains the unique ID, used as `objectID` in Algolia. -
setMapping
-
putMapping
-
getMapping
Mapping of type for every column. For example {\"myColumn\": \"boolean\", \"myOtherColumn\": \"json\"}. -
setMethod
-
getMethod
Get method -
setDelimiter
-
getDelimiter
The character used to split the value on each line, default to a comma (\\r, \\n, 0xFFFD, and space are forbidden). -
equals
-
hashCode
public int hashCode() -
toString
-