Author Archives: Raghavendar T S

Access Tomcat Server URL from Smartphone/Mobile/Tablet

Access Tomcat Server URL from Smartphone/Mobile/Tablet

Access Tomcat Server URL from Smartphone/Mobile/Tablet

One Line Answer : Disable the System Firewall 

I was developing a small web application in my Laptop using Spring MVC and was testing the application in Laptop browser. In one case, I wanted to see the web page in mobile and so I opened the URL in Android smartphone. But the page was not reachable due to the antivirus in the laptop which was blocking the requests. So I disabled the Antivirus Firewall and was able to access the webpages through smartphone.

Update Multiple Properties of Vertex – Gremlin Query – Titan

Update Multiple Properties of Vertex - Gremlin Query - Titan

Update Multiple Properties of Vertex – Gremlin Query – Titan

Update Multiple Properties of Vertex – Gremlin Query – Titan

v = g.V().hasLabel('TEST_LABEL').has('property1','value1').next();
ElementHelper.attachProperties(v, 'property2','value2');

Related Links:

  1. Gremlin Query Language - Create Vertex/Node and Edge/Relationship
  2. Check If Vertex/Edge Exist - Gremlin Query - Titan
  3. Update Properties of Multiple Edges - Gremlin Query - Titan
  4. Update Properties of Multiple Vertices - Gremlin Query - Titan
  5. Create Vertex If Does Not Exist - Gremlin Query - Titan
  6. Query/Access Root Level Properties and Nested Properties of Vertex in Single Query - Gremlin Query - Titan
  7. Update Vertex If Exist - Gremlin Query - Titan
  8. Update Multiple Properties of Vertex - Gremlin Query - Titan
Read More...

Update Vertex If Exist – Gremlin Query – Titan

Update Vertex If Exist - Gremlin Query - Titan

Update Vertex If Exist – Gremlin Query – Titan

Update Vertex If Exist – Gremlin Query – Titan

g.V().hasLabel('TEST_LABEL').has('property1','value1').tryNext().ifPresent{
    g.V().hasLabel('TEST_LABEL').has('property2','value2').property('property3','value3').iterate();
};

Related Links:

  1. Gremlin Query Language - Create Vertex/Node and Edge/Relationship
  2. Check If Vertex/Edge Exist - Gremlin Query - Titan
  3. Update Properties of Multiple Edges - Gremlin Query - Titan
  4. Update Properties of Multiple Vertices - Gremlin Query - Titan
  5. Create Vertex If Does Not Exist - Gremlin Query - Titan
  6. Query/Access Root Level Properties and Nested Properties of Vertex in Single Query - Gremlin Query - Titan
  7. Update Vertex If Exist - Gremlin Query - Titan
  8. Update Multiple Properties of Vertex - Gremlin Query - Titan
Read More...

Gremlin Query Basic Tutorials

Gremlin Query Basic Tutorials

Gremlin Query Basic Tutorials

  1. Gremlin Query Language – Create Vertex/Node and Edge/Relationship
  2. Check If Vertex/Edge Exist – Gremlin Query – Titan
  3. Update Properties of Multiple Edges – Gremlin Query – Titan
  4. Update Properties of Multiple Vertices – Gremlin Query – Titan
  5. Create Vertex If Does Not Exist – Gremlin Query – Titan
  6. Query/Access Root Level Properties and Nested Properties of Vertex in Single Query – Gremlin Query – Titan
  7. Update Vertex If Exist – Gremlin Query – Titan
  8. Update Multiple Properties of Vertex – Gremlin Query – Titan

Check If Vertex/Edge Exist – Gremlin Query – Titan

Check If Vertex/Edge Exist - Gremlin Query - Titan

Check If Vertex/Edge Exist – Gremlin Query – Titan

Check If Vertex/Edge Exist – Gremlin Query

Example 1:

// Returns boolean value
exist = g.V().hasLabel('TEST_LABEL').has('property1','value1').hasNext();

Example 2:

// Returns boolean value
exist = g.V().hasLabel('TEST_LABEL').has('property1','value1').bothE().hasNext();

Related Links:

  1. Gremlin Query Language - Create Vertex/Node and Edge/Relationship
  2. Check If Vertex/Edge Exist - Gremlin Query - Titan
  3. Update Properties of Multiple Edges - Gremlin Query - Titan
  4. Update Properties of Multiple Vertices - Gremlin Query - Titan
  5. Create Vertex If Does Not Exist - Gremlin Query - Titan
  6. Query/Access Root Level Properties and Nested Properties of Vertex in Single Query - Gremlin Query - Titan
  7. Update Vertex If Exist - Gremlin Query - Titan
  8. Update Multiple Properties of Vertex - Gremlin Query - Titan
Read More...