Julio Biason
4 years ago
17 changed files with 0 additions and 135 deletions
@ -1,5 +0,0 @@
|
||||
+++ |
||||
title = "Research Notes" |
||||
transparent = false |
||||
sort_by = "weight" |
||||
+++ |
@ -1,34 +0,0 @@
|
||||
+++ |
||||
title = "ElasticSearch" |
||||
weight = 101 |
||||
|
||||
[taxonomies] |
||||
tags = ["research", "elastic", "elasticsearch", "docker"] |
||||
+++ |
||||
|
||||
## Docker image |
||||
|
||||
``` |
||||
docker pull docker.elastic.co/elasticsearch/elasticsearch:7.8.0 |
||||
``` |
||||
|
||||
## Start |
||||
|
||||
``` |
||||
docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.8.0 |
||||
``` |
||||
|
||||
- Port 9200: REST interface. |
||||
- Port 9300: Inter-node communication. |
||||
- `discovery.type`: Just one node, no discovery needed. |
||||
|
||||
## Definitions |
||||
|
||||
- MySQL => Databases => Tables => Columns/Rows |
||||
- Elasticsearch => Indices => Types => Documents with Properties |
||||
|
||||
## Adding information (REST) |
||||
|
||||
``` |
||||
POST /<index>/_doc/ |
||||
``` |
@ -1,7 +0,0 @@
|
||||
+++ |
||||
title = "Java" |
||||
weight = 106 |
||||
+++ |
||||
|
||||
- [Shell With All Maven Classes](@/research/java/maven-shell.md) |
||||
- [Abstract Classes Resolution Order](@/research/java/abstract.md) |
@ -1,3 +0,0 @@
|
||||
+++ |
||||
title = "Java: Abstract Classes Resolution Order" |
||||
+++ |
@ -1,10 +0,0 @@
|
||||
+++ |
||||
title = "Shell with All Maven Classes" |
||||
+++ |
||||
|
||||
``` |
||||
alias mvn-shell='jshell --class-path $(find ~/.m2/repository/ -name "*.jar" | tr "\n" ":")' |
||||
``` |
||||
|
||||
This alias loads all classes in the Maven (m2) repository and make them |
||||
available to the shell. |
@ -1,31 +0,0 @@
|
||||
+++ |
||||
title = "psql" |
||||
weight = 112 |
||||
|
||||
[taxonomies] |
||||
tags = ["research", "postgresql", "psql", "database", "schema", "table"] |
||||
+++ |
||||
|
||||
## Show Database |
||||
|
||||
``` |
||||
\l |
||||
``` |
||||
|
||||
## Use Database |
||||
|
||||
``` |
||||
\c [database_name] |
||||
``` |
||||
|
||||
## Show Schemas |
||||
|
||||
``` |
||||
\dn |
||||
``` |
||||
|
||||
## Show Tables |
||||
|
||||
``` |
||||
\dt |
||||
``` |
@ -1,14 +0,0 @@
|
||||
+++ |
||||
title = "SQL" |
||||
weight = 115 |
||||
+++ |
||||
|
||||
- [Cross Join](@/research/sql/cross-join.md) |
||||
- [Except](@/research/sql/except.md) |
||||
- [Fetch First](@/research/sql/fetch-first.md) |
||||
- [Inner Join](@/research/sql/inner-join.md) |
||||
- [Join Using](@/research/sql/join-using.md) |
||||
- [Left Join](@/research/sql/left-join.md) |
||||
- [Right Join](@/research/sql/right-join.md) |
||||
- [Row_Number()](@/research/sql/row_number.md) |
||||
- [Select Over](@/research/sql/over.md) |
@ -1,3 +0,0 @@
|
||||
+++ |
||||
title = "SQL: Cross Join" |
||||
+++ |
@ -1,3 +0,0 @@
|
||||
+++ |
||||
title = "SQL: Select Except" |
||||
+++ |
@ -1,4 +0,0 @@
|
||||
+++ |
||||
title = "SQL: Fetch First" |
||||
+++ |
||||
|
@ -1,3 +0,0 @@
|
||||
+++ |
||||
title = "SQL: Inner Join" |
||||
+++ |
@ -1,3 +0,0 @@
|
||||
+++ |
||||
title = "SQL: Left Join" |
||||
+++ |
@ -1,3 +0,0 @@
|
||||
+++ |
||||
title = "SQL: Right Join" |
||||
+++ |
Loading…
Reference in new issue