Search in sources :

Example 16 with FieldStandardizationRule

use of com.thinkbiganalytics.policy.rest.model.FieldStandardizationRule in project kylo by Teradata.

the class FieldPolicyRuleBuilder method withStandardisation.

public FieldPolicyRuleBuilder withStandardisation(FieldStandardizationRule... rules) {
    for (FieldStandardizationRule rule : rules) {
        rule.setSequence(seq++);
        standardisations.add(rule);
    }
    return this;
}
Also used : FieldStandardizationRule(com.thinkbiganalytics.policy.rest.model.FieldStandardizationRule)

Aggregations

FieldStandardizationRule (com.thinkbiganalytics.policy.rest.model.FieldStandardizationRule)16 Test (org.junit.Test)12 FieldValidationRule (com.thinkbiganalytics.policy.rest.model.FieldValidationRule)6 DefaultValueStandardizer (com.thinkbiganalytics.policy.standardization.DefaultValueStandardizer)3 ArrayList (java.util.ArrayList)3 DefaultTag (com.thinkbiganalytics.discovery.model.DefaultTag)2 FieldPolicy (com.thinkbiganalytics.policy.rest.model.FieldPolicy)2 DateTimeStandardizer (com.thinkbiganalytics.policy.standardization.DateTimeStandardizer)2 JsonNode (com.fasterxml.jackson.databind.JsonNode)1 ObjectMapper (com.fasterxml.jackson.databind.ObjectMapper)1 ArrayNode (com.fasterxml.jackson.databind.node.ArrayNode)1 DefaultField (com.thinkbiganalytics.discovery.model.DefaultField)1 Field (com.thinkbiganalytics.discovery.schema.Field)1 Tag (com.thinkbiganalytics.discovery.schema.Tag)1 DomainType (com.thinkbiganalytics.feedmgr.rest.model.DomainType)1 EntityDifference (com.thinkbiganalytics.feedmgr.rest.model.EntityDifference)1 EntityVersion (com.thinkbiganalytics.feedmgr.rest.model.EntityVersion)1 EntityVersionDifference (com.thinkbiganalytics.feedmgr.rest.model.EntityVersionDifference)1 FeedCategory (com.thinkbiganalytics.feedmgr.rest.model.FeedCategory)1 FeedMetadata (com.thinkbiganalytics.feedmgr.rest.model.FeedMetadata)1