All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bazaarvoice.emodb.sor.db.astyanax.ChangeEncoder Maven / Gradle / Ivy

There is a newer version: 6.5.190
Show newest version
package com.bazaarvoice.emodb.sor.db.astyanax;

import com.bazaarvoice.emodb.sor.api.Change;
import com.bazaarvoice.emodb.sor.api.Compaction;
import com.bazaarvoice.emodb.sor.api.History;

import javax.annotation.Nullable;
import java.nio.ByteBuffer;
import java.util.EnumSet;
import java.util.Set;
import java.util.UUID;

public interface ChangeEncoder {

    StringBuilder encodeDelta(String delta, @Nullable EnumSet changeFlags, Set tags, StringBuilder changeBody);

    StringBuilder encodeCompaction(Compaction compaction, StringBuilder builder);

    String encodeHistory(History history);

    Change decodeChange(UUID changeId, ByteBuffer buf);

    Compaction decodeCompaction(ByteBuffer buf);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy