Codota Logo
BlankNodeImpl.getNodeId
Code IndexAdd Codota to your IDE (free)

How to use
getNodeId
method
in
org.mulgara.query.rdf.BlankNodeImpl

Best Java code snippets using org.mulgara.query.rdf.BlankNodeImpl.getNodeId (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: org.openrdf.mulgara/mulgara-resolver-core

if (bi.getNodeId() > 0) return bi.getNodeId();
if ((bi.getNodeId() == 0) && ((flags & WRITE_MASK) == READ)) {
 throw new LocalizeException(node, "Attempt to get a node ID from a non-allocated BlankNodeImpl in a read phase");
 if ((bi.getNodeId() < 0) && ((flags & STORE_MASK) == PERSIST)) {
  bi.setNodeId(persistentNodePool.newNode());
 } else if (bi.getNodeId() == 0) {
  if ((flags & STORE_MASK) == TEMP) {
   bi.setNodeId(-temporaryNodePool.newNode());
 return bi.getNodeId();
origin: org.openrdf.mulgara/mulgara-resolver-spi

long nodeId;
if (node instanceof BlankNodeImpl) {
 nodeId = ((BlankNodeImpl)node).getNodeId();
 if (nodeId < 0) {
  long foreignId = -nodeId;
org.mulgara.query.rdfBlankNodeImplgetNodeId

Javadoc

Returns the internal node id of the blank node.

Popular methods of BlankNodeImpl

  • <init>
    Create an RDF blank node
  • getID
  • setNodeId
    Associates this blank node with an internal node id.
  • toString
    Provide a legible representation of the blank node. Returns _node and the node id.

Popular in Java

  • Making http requests using okhttp
  • getSharedPreferences (Context)
  • findViewById (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • KeyStore (java.security)
    This class represents an in-memory collection of keys and certificates. It manages two types of entr
  • Properties (java.util)
    The Properties class represents a persistent set of properties. The Properties can be saved to a st
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • JPanel (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now