public class Column extends Bean
SERIALIZED_CLASS_NAME, TYPEXML_SERIALIZED_CLASS_NAME| Modifier | Constructor and Description |
|---|---|
protected |
Column() |
|
Column(String name,
int index) |
|
Column(String name,
int index,
Map<Object,LongAdder> uniqueValues) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecordnewInstanceFromJsonforEachGrandChildElement, fromXml, fromXml, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, writeXml, writeXmladdExceptionProperties, contributeExceptionProperties, contributeExceptionProperties, exception, exception, exceptionprotected Column()
public Column(String name, int index)
public String getName()
public int getIndex()
public Column setIndex(int index)
public long getValueCount()
public Column setValueCount(long valueCount)
public int getUniqueValueCount()
public long getNullCount()
public Column setNullCount(long nullCount)
public Column incNullCount()
public long getNonNullCount()
public long getNonNullNonBlankCount()
public long getBlankCount()
public Column setBlankCount(long blankCount)
public Column incBlankCount()
public long getInferredTextualValueCount()
public long getInferredNumericValueCount()
public long getInferredTemporalValueCount()
public long getInferredBooleanValueCount()
public long getInferredUuidValueCount()
public long getArrayValueCount()
public int getMinimumArrayElements()
public int getMaximumArrayElements()
public boolean isTextual()
public boolean isNumeric()
public boolean isTemporal()
public boolean isBoolean()
public boolean isUuid()
public boolean isArray()
public String getInferredTypeName()
public int getMinimumLength()
public Column setMinimumLength(int minimumLength)
public int getMaximumLength()
public Column setMaximumLength(int maximumLength)
public long getLengthSum()
public Column setLengthSum(long lengthSum)
public long getAverageLength()
public FieldType getInferredFieldType()
For example, if a column contains 10 integer values and 9 boolean values,
the inferred field type for that column will be FieldType.INT.
public FieldType getBestFitInferredFieldType()
If there is more than one inferred type, it will return the best fit field type based on the
getBestFitFieldType() method.
public int getFieldTypeCount()
public FieldType getFieldType()
public ConcurrentSkipListMap<FieldType,LongAdder> getNullValueFieldTypes()
public Column setNullValueFieldTypes(ConcurrentSkipListMap<FieldType,LongAdder> nullValueFieldTypes)
public FieldType getBestFitFieldType()
public Map<DateTimePattern,LongAdder> getTemporalPatterns()
public Column setTemporalPatterns(Map<DateTimePattern,LongAdder> temporalPatterns)
public int getTemporalPatternCount()
public Column setTemporalFieldTypes(Map<FieldType,LongAdder> temporalFieldTypes)
public int getTemporalFieldTypeCount()
public NumberDescriptor getNumberDescriptor()
public Column setNumberDescriptor(NumberDescriptor numberDescriptor)
public NumberDescriptor getBigNumberDescriptor()
public Column setBigNumberDescriptor(NumberDescriptor bigNumberDescriptor)
public String getSampleValue()
public static boolean isNumber(String string)
public static boolean isBoolean(String s)
public Record toRecord()
toRecord in interface RecordSerializabletoRecord in class Beanpublic Column fromRecord(Record source)
RecordSerializablethis (for fluid API call chaining).
For fluid API call chaining, the overridden method should change the declared return type to its class.fromRecord in interface RecordSerializablefromRecord in class Beanpublic DataException addExceptionProperties(DataException exception)
DataExceptionContributorDataException. Since this method is called whenever an
exception is thrown, subclasses should override it to add their specific information.addExceptionProperties in interface DataExceptionContributoraddExceptionProperties in class BeanCopyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.