https://github.com/senocak/spring-kotlin-cassandra-with-security
Spring Kotlin Cassandra with Security
https://github.com/senocak/spring-kotlin-cassandra-with-security
Last synced: 5 months ago
JSON representation
Spring Kotlin Cassandra with Security
- Host: GitHub
- URL: https://github.com/senocak/spring-kotlin-cassandra-with-security
- Owner: senocak
- Created: 2024-05-09T12:40:03.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-09T12:40:53.000Z (about 1 year ago)
- Last Synced: 2024-12-31T15:15:48.312Z (7 months ago)
- Language: Kotlin
- Size: 164 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Spring Kotlin Cassandra
## Setup
```cassandraql
CREATE TABLE users(
id UUID PRIMARY KEY,
name TEXT,
email TEXT,
password TEXT,
roles LIST,
emailactivationToken TEXT,
emailactivatedat TIMESTAMP,
secondname TEXT,
secondrank TEXT,
createdat TIMESTAMP,
updatedat TIMESTAMP
);
``````cassandraql
//CREATE INDEX ON asenocak.users(name);
CREATE CUSTOM INDEX name_idx ON asenocak.users (name)
USING 'org.apache.cassandra.index.sasi.SASIIndex'
WITH OPTIONS = {'analyzer_class': 'org.apache.cassandra.index.sasi.analyzer.StandardAnalyzer', 'case_sensitive': 'false'};
```