Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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'};
```