Uses of Class
com.fasterxml.jackson.dataformat.csv.CsvSchema
Packages that use CsvSchema
-
Uses of CsvSchema in com.fasterxml.jackson.dataformat.csv
Fields in com.fasterxml.jackson.dataformat.csv declared as CsvSchemaModifier and TypeFieldDescriptionprotected CsvSchema
CsvFactory._schema
protected CsvSchema
CsvGenerator._schema
Definition of columns being written, if available.protected final CsvSchema
CsvMappingException._schema
Deprecated.protected CsvSchema
CsvParser._schema
Definition of columns being read.protected static final CsvSchema
CsvFactory.DEFAULT_SCHEMA
private static final CsvSchema
CsvGenerator.EMPTY_SCHEMA
private static final CsvSchema
CsvParser.EMPTY_SCHEMA
Fields in com.fasterxml.jackson.dataformat.csv with type parameters of type CsvSchemaModifier and TypeFieldDescriptionprotected final LRUMap
<CsvMapper.ViewKey, CsvSchema> CsvMapper._typedSchemas
Simple caching for schema instances, given that they are relatively expensive to construct; this one is for typed schemasprotected final LRUMap
<CsvMapper.ViewKey, CsvSchema> CsvMapper._untypedSchemas
Simple caching for schema instances, given that they are relatively expensive to construct; this one is for "loose" (non-typed) schemasMethods in com.fasterxml.jackson.dataformat.csv that return CsvSchemaModifier and TypeMethodDescriptionprotected CsvSchema
CsvMapper._schemaFor
(com.fasterxml.jackson.databind.JavaType pojoType, LRUMap<CsvMapper.ViewKey, CsvSchema> schemas, boolean typed) Deprecated.protected CsvSchema
CsvMapper._schemaFor
(com.fasterxml.jackson.databind.JavaType pojoType, LRUMap<CsvMapper.ViewKey, CsvSchema> schemas, boolean typed, Class<?> view) protected CsvSchema
CsvSchema._withColumn
(int ix, CsvSchema.Column toReplace) protected CsvSchema
CsvSchema._withFeature
(int feature, boolean state) CsvSchema.Builder.build()
static CsvSchema
CsvSchema.emptySchema()
Accessor for creating a "default" CSV schema instance, with following settings: Does NOT use header line Uses double quotes ('"') for quoting of field values (if necessary) Uses comma (',') as the field separator Uses Unix linefeed ('\n') as row separator Does NOT use any escape characters Does NOT have any columns definedCsvMappingException.getSchema()
Deprecated.CsvParser.getSchema()
Accessor for getting active schema definition: it may be "empty" (no column definitions), but will never be null since it defaults to an empty schema (and default configuration)CsvMapper.schema()
Convenience method that is same asfinal CsvSchema
CsvMapper.schemaFor
(com.fasterxml.jackson.core.type.TypeReference<?> pojoTypeRef) CsvMapper.schemaFor
(com.fasterxml.jackson.databind.JavaType pojoType) Method that can be used to determine a CSV schema to use for given POJO type, using default serialization settings including ordering.final CsvSchema
final CsvSchema
CsvMapper.schemaForWithView
(com.fasterxml.jackson.core.type.TypeReference<?> pojoTypeRef, Class<?> view) CsvMapper.schemaForWithView
(com.fasterxml.jackson.databind.JavaType pojoType, Class<?> view) final CsvSchema
CsvMapper.schemaForWithView
(Class<?> pojoType, Class<?> view) CsvMapper.schemaWithHeader()
Convenience method that is same asMutant factory method that will construct a new instance in which columns are sorted based on names given as argument.CsvSchema.sortedBy
(Comparator<String> cmp) Mutant factory method that will construct a new instance in which columns are sorted using givenComparator
over column names.final CsvSchema
CsvMapper.typedSchemaFor
(com.fasterxml.jackson.core.type.TypeReference<?> pojoTypeRef) CsvMapper.typedSchemaFor
(com.fasterxml.jackson.databind.JavaType pojoType) Method that can be used to determine a CSV schema to use for given POJO type, using default serialization settings including ordering.final CsvSchema
CsvMapper.typedSchemaFor
(Class<?> pojoType) final CsvSchema
CsvMapper.typedSchemaForWithView
(com.fasterxml.jackson.core.type.TypeReference<?> pojoTypeRef, Class<?> view) CsvMapper.typedSchemaForWithView
(com.fasterxml.jackson.databind.JavaType pojoType, Class<?> view) final CsvSchema
CsvMapper.typedSchemaForWithView
(Class<?> pojoType, Class<?> view) CsvSchema.withAllowComments
(boolean state) Method to indicate whether "hash comments" are allowed for document described by this schema.CsvSchema.withAnyPropertyName
(String name) CsvSchema.withArrayElementSeparator
(String separator) CsvSchema.withColumn
(int columnIndex, UnaryOperator<CsvSchema.Column> transformer) Mutant factory method that will try to replace specified column with changed definition (but same name), leaving other columns as-is.CsvSchema.withColumn
(String columnName, UnaryOperator<CsvSchema.Column> transformer) Mutant factory method that will try to replace specified column with changed definition (but same name), leaving other columns as-is.CsvSchema.withColumnReordering
(boolean state) Returns a clone of this instance by changing or setting the column reordering flagCsvSchema.withColumnSeparator
(char sep) CsvSchema.withColumnsFrom
(CsvSchema toAppend) Mutant factory method that will try to combine columns of this schema with those from `toAppend`, starting with columns of this instance, and ignoring duplicates (if any) from argument `toAppend`.CsvSchema.withComments()
Method to indicate that "hash comments" ARE allowed for document described by this schema.CsvSchema.withEscapeChar
(char c) CsvSchema.withHeader()
Helper method for constructing and returning schema instance that is similar to this one, except that it will be using header line.CsvSchema.withLineSeparator
(String sep) CsvSchema.withNullValue
(String nvl) CsvSchema.withoutArrayElementSeparator()
CsvSchema.withoutColumns()
CsvSchema.withoutComments()
Method to indicate that "hash comments" are NOT allowed for document described by this schema.CsvSchema.withoutEscapeChar()
CsvSchema.withoutHeader()
Helper method for construcing and returning schema instance that is similar to this one, except that it will not be using header line.CsvSchema.withoutQuoteChar()
CsvSchema.withQuoteChar
(char c) CsvSchema.withSkipFirstDataRow
(boolean state) CsvSchema.withStrictHeaders
(boolean state) Returns a clone of this instance by changing or setting the strict headers flagCsvSchema.withUseHeader
(boolean state) Methods in com.fasterxml.jackson.dataformat.csv with parameters of type CsvSchemaModifier and TypeMethodDescriptionCsvSchema.Builder.addColumnsFrom
(CsvSchema schema) NOTE: unlike many other add methods, this method DOES check for, and discard, possible duplicate columns: that is, if this builder already has a column with same name as column to be added, existing column is retained and new column ignored.static CsvMappingException
CsvMappingException.from
(CsvGenerator gen, String msg, CsvSchema schema) Deprecated.static CsvMappingException
Deprecated.static CsvReadException
static CsvWriteException
CsvWriteException.from
(CsvGenerator gen, String msg, CsvSchema schema) CsvSchema.withColumnsFrom
(CsvSchema toAppend) Mutant factory method that will try to combine columns of this schema with those from `toAppend`, starting with columns of this instance, and ignoring duplicates (if any) from argument `toAppend`.Method parameters in com.fasterxml.jackson.dataformat.csv with type arguments of type CsvSchemaModifier and TypeMethodDescriptionprotected CsvSchema
CsvMapper._schemaFor
(com.fasterxml.jackson.databind.JavaType pojoType, LRUMap<CsvMapper.ViewKey, CsvSchema> schemas, boolean typed) Deprecated.protected CsvSchema
CsvMapper._schemaFor
(com.fasterxml.jackson.databind.JavaType pojoType, LRUMap<CsvMapper.ViewKey, CsvSchema> schemas, boolean typed, Class<?> view) Constructors in com.fasterxml.jackson.dataformat.csv with parameters of type CsvSchemaModifierConstructorDescription"Copy" constructor which creates builder that has settings of given source schemaCsvGenerator
(com.fasterxml.jackson.core.io.IOContext ctxt, int jsonFeatures, int csvFeatures, com.fasterxml.jackson.core.ObjectCodec codec, Writer out, CsvSchema schema) CsvMappingException
(CsvGenerator gen, String msg, CsvSchema schema) Deprecated.CsvMappingException
(CsvParser p, String msg, CsvSchema schema) Deprecated.CsvReadException
(CsvParser p, String msg, CsvSchema schema) protected
Copy constructor used for creating variants for on/off featuresprotected
CsvSchema
(CsvSchema base, CsvSchema.Column[] columns) Copy constructor used for creating variants usingsortedBy()
methods.CsvWriteException
(CsvGenerator gen, String msg, CsvSchema schema) -
Uses of CsvSchema in com.fasterxml.jackson.dataformat.csv.impl
Methods in com.fasterxml.jackson.dataformat.csv.impl with parameters of type CsvSchemaConstructors in com.fasterxml.jackson.dataformat.csv.impl with parameters of type CsvSchemaModifierConstructorDescriptionCsvDecoder
(CsvParser owner, com.fasterxml.jackson.core.io.IOContext ctxt, Reader r, CsvSchema schema, com.fasterxml.jackson.core.util.TextBuffer textBuffer, int stdFeatures, int csvFeatures) CsvEncoder
(com.fasterxml.jackson.core.io.IOContext ctxt, int csvFeatures, Writer out, CsvSchema schema) Deprecated.CsvEncoder
(com.fasterxml.jackson.core.io.IOContext ctxt, int csvFeatures, Writer out, CsvSchema schema, boolean useFastDoubleWriter) CsvEncoder
(CsvEncoder base, CsvSchema newSchema)