aboutsummaryrefslogtreecommitdiffstats
path: root/config/src/vespa/config/common/compressiontype.h
blob: 33d9319a68a1127ed63304151196d4e9da15615d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once

#include <vespa/vespalib/stllike/string.h>

namespace config {

enum class CompressionType {UNCOMPRESSED, LZ4};
vespalib::string compressionTypeToString(const CompressionType & compressionType);
CompressionType stringToCompressionType(const vespalib::string & type);

}