Tabnine Logo
GremlinPipeline.hasNot
Code IndexAdd Tabnine to your IDE (free)

How to use
hasNot
method
in
com.tinkerpop.gremlin.java.GremlinPipeline

Best Java code snippets using com.tinkerpop.gremlin.java.GremlinPipeline.hasNot (Showing top 3 results out of 315)

origin: apache/incubator-atlas

  protected Pipe getQueryPipe() {
    return new GremlinPipeline().has(Constants.ENTITY_TEXT_PROPERTY_KEY).
        hasNot(Constants.ENTITY_TYPE_PROPERTY_KEY, "Taxonomy");
  }
}
origin: apache/incubator-atlas

@Override
protected Pipe getQueryPipe() {
  GremlinPipeline p;
  if (guid.equals("*")) {
    p = new GremlinPipeline().has(Constants.ENTITY_TEXT_PROPERTY_KEY).
        hasNot(Constants.ENTITY_TYPE_PROPERTY_KEY, "Taxonomy").outE();
  } else {
    p = new GremlinPipeline().has(Constants.GUID_PROPERTY_KEY, guid).outE();
  }
  //todo: this is basically the same pipeline used in TagRelation.asPipe()
  p.add(new FilterFunctionPipe<>(new PipeFunction<Edge, Boolean>() {
    @Override
    public Boolean compute(Edge edge) {
      String type = edge.getVertex(Direction.OUT).getProperty(Constants.ENTITY_TYPE_PROPERTY_KEY);
      VertexWrapper v = new TermVertexWrapper(edge.getVertex(Direction.IN));
      return edge.getLabel().startsWith(type) && v.getPropertyKeys().contains("available_as_tag");
    }
  }));
  return p.inV();
}
origin: pridkett/gitminer

pipe.out(EdgeType.USEREVENT).out().
   has(PropertyName.TYPE, VertexType.REPOSITORY).
   hasNot(PropertyName.FULLNAME, "/").dedup().
   property(PropertyName.FULLNAME).
   fill(childRepositories);
com.tinkerpop.gremlin.javaGremlinPipelinehasNot

Javadoc

Check if the element does not have a property with provided key.

Popular methods of GremlinPipeline

  • <init>
  • out
    Add an OutPipe to the end of the Pipeline. Emit the adjacent outgoing vertices of the incoming verte
  • has
    Add an IdFilterPipe, LabelFilterPipe, or PropertyFilterPipe to the end of the Pipeline. If the incom
  • in
    Add a InPipe to the end of the Pipeline. Emit the adjacent incoming vertices for the incoming vertex
  • add
    Add an arbitrary pipe to the GremlinPipeline
  • as
    Wrap the previous step in an AsPipe. Useful for naming steps and is used in conjunction with various
  • iterator
  • back
    Add a BackFilterPipe to the end of the Pipeline. The object that was seen namedSteps ago is emitted.
  • both
    Add a BothPipe to the end of the Pipeline. Emit both the incoming and outgoing adjacent vertices for
  • dedup
    Add a DuplicateFilterPipe to the end of the Pipeline. Will only emit the object if the object genera
  • outE
    Add an OutEdgesPipe to the end of the Pipeline. Emit the outgoing edges for the incoming vertex.
  • toList
    Return a list of all the objects in the pipeline.
  • outE,
  • toList,
  • V,
  • _,
  • addPipe,
  • aggregate,
  • bothE,
  • count,
  • enablePath

Popular in Java

  • Parsing JSON documents to java classes using gson
  • addToBackStack (FragmentTransaction)
  • getContentResolver (Context)
  • compareTo (BigDecimal)
  • Socket (java.net)
    Provides a client-side TCP socket.
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now