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 CsvSchemaCsvFactory._schemaprotected CsvSchemaCsvGenerator._schemaDefinition of columns being written, if available.protected final CsvSchemaCsvMappingException._schemaDeprecated.protected CsvSchemaCsvParser._schemaDefinition of columns being read.protected static final CsvSchemaCsvFactory.DEFAULT_SCHEMAprivate static final CsvSchemaCsvGenerator.EMPTY_SCHEMAprivate static final CsvSchemaCsvParser.EMPTY_SCHEMAFields in com.fasterxml.jackson.dataformat.csv with type parameters of type CsvSchemaModifier and TypeFieldDescriptionprotected final LRUMap<CsvMapper.ViewKey, CsvSchema> CsvMapper._typedSchemasSimple caching for schema instances, given that they are relatively expensive to construct; this one is for typed schemasprotected final LRUMap<CsvMapper.ViewKey, CsvSchema> CsvMapper._untypedSchemasSimple 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 CsvSchemaCsvMapper._schemaFor(com.fasterxml.jackson.databind.JavaType pojoType, LRUMap<CsvMapper.ViewKey, CsvSchema> schemas, boolean typed) Deprecated.protected CsvSchemaCsvMapper._schemaFor(com.fasterxml.jackson.databind.JavaType pojoType, LRUMap<CsvMapper.ViewKey, CsvSchema> schemas, boolean typed, Class<?> view) protected CsvSchemaCsvSchema._withFeature(int feature, boolean state) CsvSchema.Builder.build()static CsvSchemaCsvSchema.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 CsvSchemaCsvMapper.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 CsvSchemafinal CsvSchemaCsvMapper.schemaForWithView(com.fasterxml.jackson.core.type.TypeReference<?> pojoTypeRef, Class<?> view) CsvMapper.schemaForWithView(com.fasterxml.jackson.databind.JavaType pojoType, Class<?> view) final CsvSchemaCsvMapper.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 givenComparatorover column names.final CsvSchemaCsvMapper.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 CsvSchemaCsvMapper.typedSchemaFor(Class<?> pojoType) final CsvSchemaCsvMapper.typedSchemaForWithView(com.fasterxml.jackson.core.type.TypeReference<?> pojoTypeRef, Class<?> view) CsvMapper.typedSchemaForWithView(com.fasterxml.jackson.databind.JavaType pojoType, Class<?> view) final CsvSchemaCsvMapper.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(char c) Deprecated.CsvSchema.withArrayElementSeparator(String separator) 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 CsvMappingExceptionCsvMappingException.from(CsvGenerator gen, String msg, CsvSchema schema) Deprecated.static CsvMappingExceptionDeprecated.static CsvReadExceptionstatic CsvWriteExceptionCsvWriteException.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 CsvSchemaCsvMapper._schemaFor(com.fasterxml.jackson.databind.JavaType pojoType, LRUMap<CsvMapper.ViewKey, CsvSchema> schemas, boolean typed) Deprecated.protected CsvSchemaCsvMapper._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) protectedCopy constructor used for creating variants for on/off featuresprotectedCsvSchema(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)
CsvSchema.withArrayElementSeparator(String)instead