Interface ClassificationsTransformer

  • All Superinterfaces:

    public interface ClassificationsTransformer
    extends Transformer<java.lang.String[]>
    Is a specific interface extending Transformer for transforming resources in preparation for export as Classifications for Analytics. The interface uses the String[] type.
    • Method Detail

      • getHeader

        java.lang.String[] getHeader​(Resource resource)
        Returns a String[] of header keys from a resource. The first value will be 'Key' as defined by Analytics. The other values are non-namespace property names of the resource. Please note that the Transformer.transform(Resource) method needs to return its values in the exact same order as defined in the header.
        resource - resource to extract the headerkeys from
        Header column keys, starting with 'Key' as first value.