Class ResourceProfileAnnotationProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.EntityProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.surveyreports.AnnotationProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.surveyreports.DataFieldAnnotationProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.surveyreports.ResourceProfileAnnotationProperties
DataProfileAnnotation holds properties that describe the characteristics of a specific field within a data source.
- 
Constructor SummaryConstructorsConstructorDescriptionDefault constructorCopy clone constructor
- 
Method SummaryModifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the average (mean) value of the values stored in the data field.Return the name of the data type that the discovery service believes the field is.Return the name of the data format that the discovery service believes the field is.intReturn the length of the data field that has been deduced from the data stored.intReturn the precision of the data field that has been deduced from the data stored.intReturn the inferred scale used in other properties.intReturn the length of the data field.Return the map of different profiling counts that have been calculated.Return a set of relevant dates describing different aspects of the data.Return the map of different large profiling counts that have been calculated.Return the time that the profiler stopped gathering data.Return a set of boolean flags describing different aspects of the data.Return the map of properties that make up the profile.Return the list of property values filled out in this annotation.Return the time that the profiler started gathering data.Return a map of values to value count for the data field.Return the list of values found in the data field.Return the lowest value of the data stored in this data field.Return the upper value of the data stored in this data field.inthashCode()Create a hash code for this element type.voidsetAverageValue(String averageValue) Set up the average (mean) value of the values stored in the data field.voidsetInferredDataType(String inferredDataType) Set up the name of the data type that the discovery service believes the field is.voidsetInferredFormat(String inferredFormat) Set up the name of the data format that the discovery service believes the field is.voidsetInferredLength(int inferredLength) Set up the length of the data field that has been deduced from the data stored.voidsetInferredPrecision(int inferredPrecision) Set up the precision of the data field that has been deduced from the data stored.voidsetInferredScale(int inferredScale) Set up the inferred scale used in other properties.voidsetLength(int length) Set up the length of the data field.voidsetProfileCounts(Map<String, Long> profileCounts) Set up the map of different profiling counts that have been calculated.voidsetProfileDates(Map<String, Date> profileDates) Set up a set of relevant dates describing different aspects of the data.voidsetProfileDoubles(Map<String, Double> profileDoubles) Set up the map of different large profiling counts that have been calculated.voidsetProfileEndDate(Date profileEndDate) Set up the time that the profiler stopped gathering data.voidsetProfileFlags(Map<String, Boolean> profileFlags) Set up a set of boolean flags describing different aspects of the data.voidsetProfileProperties(Map<String, String> profileProperties) Set up the map of properties that make up the profile.voidsetProfilePropertyNames(List<String> profilePropertyNames) Set up the list of property values filled out in this annotation.voidsetProfileStartDate(Date profileStartDate) Set Up the time that the profiler started gathering data.voidsetValueCount(Map<String, Integer> valueCount) Set up a map of values to value count for the data field.voidsetValueList(List<String> valueList) Set up the list of values found in the data field.voidsetValueRangeFrom(String valueRangeFrom) Set up the lowest value of the data stored in this data field.voidsetValueRangeTo(String valueRangeTo) Set up the upper value of the data stored in this data field.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.surveyreports.AnnotationPropertiesgetAdditionalProperties, getAnalysisStep, getAnnotationType, getConfidenceLevel, getExplanation, getExpression, getJsonProperties, getSummary, setAdditionalProperties, setAnalysisStep, setAnnotationType, setConfidenceLevel, setExplanation, setExpression, setJsonProperties, setSummaryMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootPropertiesgetExtendedProperties, getTypeName, setExtendedProperties, setTypeNameMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.EntityPropertiesgetEffectiveFrom, getEffectiveTo, setEffectiveFrom, setEffectiveTo
- 
Constructor Details- 
ResourceProfileAnnotationPropertiespublic ResourceProfileAnnotationProperties()Default constructor
- 
ResourceProfileAnnotationPropertiesCopy clone constructor- Parameters:
- template- object to copy
 
 
- 
- 
Method Details- 
getProfilePropertyNamesReturn the list of property values filled out in this annotation.- Returns:
- list of property names
 
- 
setProfilePropertyNamesSet up the list of property values filled out in this annotation.- Parameters:
- profilePropertyNames- list of property names
 
- 
getLengthpublic int getLength()Return the length of the data field. Assumes static predefined lengths.- Returns:
- integer
 
- 
setLengthpublic void setLength(int length) Set up the length of the data field. Assumes static predefined lengths.- Parameters:
- length- integer
 
- 
getInferredDataTypeReturn the name of the data type that the discovery service believes the field is.- Returns:
- string name
 
- 
setInferredDataTypeSet up the name of the data type that the discovery service believes the field is.- Parameters:
- inferredDataType- string name
 
- 
getInferredFormatReturn the name of the data format that the discovery service believes the field is.- Returns:
- string name
 
- 
setInferredFormatSet up the name of the data format that the discovery service believes the field is.- Parameters:
- inferredFormat- string name
 
- 
getInferredLengthpublic int getInferredLength()Return the length of the data field that has been deduced from the data stored.- Returns:
- integer
 
- 
setInferredLengthpublic void setInferredLength(int inferredLength) Set up the length of the data field that has been deduced from the data stored.- Parameters:
- inferredLength- integer
 
- 
getInferredPrecisionpublic int getInferredPrecision()Return the precision of the data field that has been deduced from the data stored.- Returns:
- integer
 
- 
setInferredPrecisionpublic void setInferredPrecision(int inferredPrecision) Set up the precision of the data field that has been deduced from the data stored.- Parameters:
- inferredPrecision- integer
 
- 
getInferredScalepublic int getInferredScale()Return the inferred scale used in other properties.- Returns:
- integer
 
- 
setInferredScalepublic void setInferredScale(int inferredScale) Set up the inferred scale used in other properties.- Parameters:
- inferredScale- integer
 
- 
getProfileStartDateReturn the time that the profiler started gathering data.- Returns:
- date
 
- 
setProfileStartDateSet Up the time that the profiler started gathering data.- Parameters:
- profileStartDate- date
 
- 
getProfileEndDateReturn the time that the profiler stopped gathering data.- Returns:
- date
 
- 
setProfileEndDateSet up the time that the profiler stopped gathering data.- Parameters:
- profileEndDate- date
 
- 
getProfilePropertiesReturn the map of properties that make up the profile.- Returns:
- property map
 
- 
setProfilePropertiesSet up the map of properties that make up the profile.- Parameters:
- profileProperties- property map
 
- 
getProfileFlagsReturn a set of boolean flags describing different aspects of the data.- Returns:
- map of flag names to flag values
 
- 
setProfileFlagsSet up a set of boolean flags describing different aspects of the data.- Parameters:
- profileFlags- map of flag names to flag values
 
- 
getProfileDatesReturn a set of relevant dates describing different aspects of the data.- Returns:
- map of names to date values
 
- 
setProfileDatesSet up a set of relevant dates describing different aspects of the data.- Parameters:
- profileDates- map of names to date values
 
- 
getProfileCountsReturn the map of different profiling counts that have been calculated.- Returns:
- map of count name to count value
 
- 
setProfileCountsSet up the map of different profiling counts that have been calculated.- Parameters:
- profileCounts- map of count name to count value
 
- 
getProfileDoublesReturn the map of different large profiling counts that have been calculated.- Returns:
- map of count name to count value
 
- 
setProfileDoublesSet up the map of different large profiling counts that have been calculated.- Parameters:
- profileDoubles- map of count name to count value
 
- 
getValueListReturn the list of values found in the data field.- Returns:
- list of values
 
- 
setValueListSet up the list of values found in the data field.- Parameters:
- valueList- list of values
 
- 
getValueCountReturn a map of values to value count for the data field.- Returns:
- map of values to value count
 
- 
setValueCountSet up a map of values to value count for the data field.- Parameters:
- valueCount- map of values to value count
 
- 
getValueRangeFromReturn the lowest value of the data stored in this data field.- Returns:
- string version of the value.
 
- 
setValueRangeFromSet up the lowest value of the data stored in this data field.- Parameters:
- valueRangeFrom- string version of the value.
 
- 
getValueRangeToReturn the upper value of the data stored in this data field.- Returns:
- string version of the value.
 
- 
setValueRangeToSet up the upper value of the data stored in this data field.- Parameters:
- valueRangeTo- string version of the value.
 
- 
getAverageValueReturn the average (mean) value of the values stored in the data field.- Returns:
- string version of the value.
 
- 
setAverageValueSet up the average (mean) value of the values stored in the data field.- Parameters:
- averageValue- string version of the value.
 
- 
toStringStandard toString method.- Overrides:
- toStringin class- DataFieldAnnotationProperties
- Returns:
- print out of variables in a JSON-style
 
- 
equalsCompare the values of the supplied object with those stored in the current object.- Overrides:
- equalsin class- AnnotationProperties
- Parameters:
- objectToCompare- supplied object
- Returns:
- boolean result of comparison
 
- 
hashCodepublic int hashCode()Create a hash code for this element type.- Overrides:
- hashCodein class- AnnotationProperties
- Returns:
- int hash code
 
 
-