We are aware of SQL “Structured Query Language“ which we usually use in SQL databases. Here we are using CQL “Cypher Query Language“.
Neo4j is based on node and relations. Node can be considered as tables in SQL and relations can be considered as foreign keys in there.
What is CQL?
The very first and simple answer is “It is Database”. Going further we can elaborate it as “It is a Graph Database”. and it uses “Cypher Query Language”.
You may come across a lot of questions related to -
For all such questions, you can seek links provided in the reference area. They have provided an ample number of videos and documentation around it. Let’s just check how graph database stores data in dB and how Cypher Query Language looks like.
You can always seek on neo4j.com for the latest download link but for a specific version Here I am providing the link.
We can use the following link and install Neo4j -
For a Linux -
Steps to install
For Linux -
tar -xf <filecode>.
tar -xf neo4j-community-3.5.5-unix.tar.gz
8. Place the extracted files in a permanent home on your server. The top-level directory is referred to as NEO4J_HOME.
To run Neo4j as a console application, use:
Here we are going to cover how to preserve data outside our container because when the container exits it destroys all the data inside. Which is the biggest problem? But there are ways to sync data out of the container. Let’s find out.
Volume — inside docker host
docker run — mount src=”$(pwd)”,target=$HOME/app,type=volume webapp:1.0
Bind — outside docker host but on host machine.
docker run — mount…
There are several approaches to integrate dockers according to the project structure.
How docker-compose works?
Frequently used commands:-
docker build —
With Docker, developers can build any app in any language using any tool-chain. “Dockerized” apps are completely portable and can run anywhere on OS X and Windows laptops, QA servers running Ubuntu in the cloud, and production data center VMs running Red Hat.
Developers can get going quickly by starting with one of the 1,00,000+ apps available on Docker Hub. Docker manages and tracks changes and dependencies, making it easier for sysadmins to understand how the apps that developers build work. …
Assuming that you are aware of downloading AOSP code and setup ubuntu for machine for the same. If not please go through my previous two chapters.
We have multiple options to open source code in android studio. Depends upon task or need. Considering you are an android developer and just want to explore the code then you can open full source code in the android studio. But if you want to make changes in the particular part of source code then some more settings related to Framework SDK setup needed.
# Compile full source code after downloading
$: source build/envsetup.sh
$: make -j8
#AOSP recommended computer configuration
NOTE — Here onwards we have used ($:) symbol for showing ubuntu terminal. Commands start after that symbol.
# Installing essential packages
On Ubuntu to compile and build, it needs few packages with should…
Software Engineer. (Mobile and Web)