Class JoinOperator

    • Constructor Detail

      • JoinOperator

        public JoinOperator​(@NonNull Operator childOperator,
                            @NonNull Query joinedQuery,
                            @NonNull Query query)
                     throws java.lang.IllegalArgumentException
        Create a new JoinOperator which joins query on the left-hand-side with otherQuery on the right-hand-side.
        Parameters:
        childOperator - The previous operator in the operator chain of query.
        joinedQuery - The joined query.
        query - The Query instance on which Query.joinWith(stream.nebula.runtime.Query) was called.
        Throws:
        java.lang.IllegalArgumentException - If joinedQuery is null.
    • Method Detail

      • getJoinedOperator

        public Operator getJoinedOperator()
        Access the joined query.
        Returns:
        The joined query.
      • getLhs

        public FieldAccessExpression getLhs()
        Access the left-hand-side attribute of this JoinOperator.
        Returns:
        The left-hand-side join attribute.
      • getRhs

        public FieldAccessExpression getRhs()
        Access the right-hand-side attribute of this JoinOperator.
        Returns:
        The right-hand-side join attribute.
      • getWindowDefinition

        public TimeBasedWindowDefinition getWindowDefinition()
        Access the join window definition of this JoinOperator.
        Returns:
        The join window.