Class JROlapDataSource

    • Field Detail

      • EXCEPTION_MESSAGE_KEY_OLAP_AXIS_NOT_FOUND_IN_RESULT

        public static final java.lang.String EXCEPTION_MESSAGE_KEY_OLAP_AXIS_NOT_FOUND_IN_RESULT
        See Also:
        Constant Field Values
      • EXCEPTION_MESSAGE_KEY_OLAP_CANNOT_CONVERT_FIELD_TYPE

        public static final java.lang.String EXCEPTION_MESSAGE_KEY_OLAP_CANNOT_CONVERT_FIELD_TYPE
        See Also:
        Constant Field Values
      • EXCEPTION_MESSAGE_KEY_OLAP_CANNOT_CONVERT_STRING_VALUE_TYPE

        public static final java.lang.String EXCEPTION_MESSAGE_KEY_OLAP_CANNOT_CONVERT_STRING_VALUE_TYPE
        See Also:
        Constant Field Values
      • EXCEPTION_MESSAGE_KEY_OLAP_DIMENSION_NOT_FOUND

        public static final java.lang.String EXCEPTION_MESSAGE_KEY_OLAP_DIMENSION_NOT_FOUND
        See Also:
        Constant Field Values
      • EXCEPTION_MESSAGE_KEY_OLAP_FIELD_VALUE_NOT_RETRIEVED

        public static final java.lang.String EXCEPTION_MESSAGE_KEY_OLAP_FIELD_VALUE_NOT_RETRIEVED
        See Also:
        Constant Field Values
      • EXCEPTION_MESSAGE_KEY_OLAP_INTERNAL_ERROR

        public static final java.lang.String EXCEPTION_MESSAGE_KEY_OLAP_INTERNAL_ERROR
        See Also:
        Constant Field Values
      • EXCEPTION_MESSAGE_KEY_OLAP_MISSING_FIELD_MAPPING

        public static final java.lang.String EXCEPTION_MESSAGE_KEY_OLAP_MISSING_FIELD_MAPPING
        See Also:
        Constant Field Values
      • EXCEPTION_MESSAGE_KEY_OLAP_INVALID_FIELD_MAPPING

        public static final java.lang.String EXCEPTION_MESSAGE_KEY_OLAP_INVALID_FIELD_MAPPING
        See Also:
        Constant Field Values
      • EXCEPTION_MESSAGE_KEY_OLAP_LEVEL_NOT_FOUND

        public static final java.lang.String EXCEPTION_MESSAGE_KEY_OLAP_LEVEL_NOT_FOUND
        See Also:
        Constant Field Values
      • EXCEPTION_MESSAGE_KEY_OLAP_TUPLE_NOT_FOUND

        public static final java.lang.String EXCEPTION_MESSAGE_KEY_OLAP_TUPLE_NOT_FOUND
        See Also:
        Constant Field Values
      • PROPERTY_FIELD_MAPPING

        public static final java.lang.String PROPERTY_FIELD_MAPPING
        Property specifying the OLAP mapping for the dataset field.
        See Also:
        Constant Field Values
      • hierarchiesCount

        protected final int hierarchiesCount
      • fieldsMaxDepths

        protected int[][] fieldsMaxDepths
      • iteratePositions

        protected boolean[] iteratePositions
      • iterate

        protected boolean iterate
      • dataField

        protected boolean dataField
      • fieldValues

        protected java.util.Map<java.lang.Object,​java.lang.Object> fieldValues
      • axisPositions

        protected int[] axisPositions
      • first

        protected boolean first
      • maxDepths

        protected int[][] maxDepths
    • Method Detail

      • next

        public boolean next()
                     throws JRException
        Description copied from interface: JRDataSource
        Tries to position the cursor on the next element in the data source.
        Specified by:
        next in interface JRDataSource
        Returns:
        true if there is a next record, false otherwise
        Throws:
        JRException - if any error occurs while trying to move to the next element
      • nextPositions

        protected boolean nextPositions()
      • getFieldValue

        public java.lang.Object getFieldValue​(JRField jrField)
                                       throws JRException
        Convert the value of the data type of the Field
        Specified by:
        getFieldValue in interface JRDataSource
        Parameters:
        jrField - the Field whose type has to be converted
        Returns:
        value of field in the requested type
        Throws:
        JRException
      • getFieldMapping

        protected java.lang.String getFieldMapping​(JRField field)
      • processMemberInfo

        protected void processMemberInfo​(Member member)
      • matchesDimensionName

        protected boolean matchesDimensionName​(JROlapHierarchy hierarchy,
                                               java.lang.String dimensionName)
      • setMatchMemberDepth

        protected void setMatchMemberDepth​(Member memberInfo,
                                           JROlapMember member)