Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 5 hours 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 (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-09T12:40:53.000Z (6 months ago)
- Last Synced: 2024-05-09T15:14:29.769Z (6 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'};
```