seancarroll/fdb-java-es

View on GitHub
src/main/java/com/eventfully/foundationdb/eventstore/EventStoreSubspaces.java

Summary

Maintainability
A
0 mins
Test Coverage
package com.eventfully.foundationdb.eventstore;

public enum EventStoreSubspaces {

    GLOBAL("0"),
    STREAM("1"),
    // TODO: do we need this? should this be another subspace or just a stream with the stream subspace
    METADATA("2");

    private final String value;

    EventStoreSubspaces(String value) {
        this.value = value;
    }

    public String getValue() {
        return value;
    }
}