Skip to content
This repository was archived by the owner on Mar 12, 2024. It is now read-only.

Data concept

Ariel Reis edited this page Apr 9, 2021 · 1 revision

On Quicache, the data has 4 default fields:

key - String

Key is the identifier of your data. It's required, and without its you can't insert data.

value - Binary

Value is an array de byte, and you can send anything. This field is required, and without its definition you can't store data.

schema - String

This field is optional, and you can use to separate schemas of your application. Default value: "default"

ttl - Long

Time to live is the value of expiration time at storage. You can define it in millis. Not required, default is 0.

Clone this wiki locally