Interface ClassificationsTransformer

  • All Superinterfaces:
    Transformer<java.lang.String[]>

    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.
    Since:
    6.1
    • 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.
        Parameters:
        resource - resource to extract the headerkeys from
        Returns:
        Header column keys, starting with 'Key' as first value.