Class ConditionComposeOr

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void init​(Graph graph, java.util.Map<java.lang.Integer,​java.lang.String> vertexTypes, java.util.Map<java.lang.Integer,​java.lang.String> edgeTypes)
      初始化条件过滤(使用时需要先init)
      boolean test​(Element record)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Predicate

        and, negate, or
    • Constructor Detail

      • ConditionComposeOr

        public ConditionComposeOr​(java.util.List<ConditionOnVisit> v)
    • Method Detail

      • init

        public void init​(Graph graph,
                         java.util.Map<java.lang.Integer,​java.lang.String> vertexTypes,
                         java.util.Map<java.lang.Integer,​java.lang.String> edgeTypes)
        Description copied from interface: ConditionOnVisit
        初始化条件过滤(使用时需要先init)
        Specified by:
        init in interface ConditionOnVisit
        Parameters:
        graph - 图对象
        vertexTypes - 点过滤(key为点类型index,value为过滤的类型名)
        edgeTypes - 边过滤(key为点类型index,value为过滤的类型名)
      • test

        public boolean test​(Element record)
        Specified by:
        test in interface java.util.function.Predicate<Element>