@Internal public abstract class BlobStorageAccessor extends cz.o2.proxima.storage.AbstractStorage implements DataAccessor
DataAccessor for blob storages.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ALLOWED_LATENESS_MS
Maximal allowed lateness to wait before segment is rolled.
|
(package private) java.util.Map<java.lang.String,java.lang.Object> |
cfg |
(package private) cz.o2.proxima.repository.AttributeFamilyDescriptor |
familyDescriptor |
static java.lang.String |
LOG_ROLL_INTERVAL
How often to roll the blob in milliseconds.
|
static java.lang.String |
PARTITION_MAX_BLOBS
Maximal number of blobs to be put in single partition.
|
static java.lang.String |
PARTITION_MAX_TIME_SPAN_MS
Maximal amount of time (in milliseconds) a partition containing multiple blobs can span.
|
static java.lang.String |
PARTITION_SIZE
Minimal size of partition in bytes.
|
private static long |
serialVersionUID |
| Modifier | Constructor and Description |
|---|---|
protected |
BlobStorageAccessor(cz.o2.proxima.repository.AttributeFamilyDescriptor family) |
| Modifier and Type | Method and Description |
|---|---|
long |
getAllowedLateness() |
java.util.Map<java.lang.String,java.lang.Object> |
getCfg() |
(package private) FileFormat |
getFileFormat() |
NamingConvention |
getNamingConvention() |
int |
getPartitionMaxNumBlobs() |
long |
getPartitionMaxTimeSpanMs() |
long |
getPartitionMinSize() |
long |
getRollPeriod() |
abstract FileSystem |
getTargetFileSystem() |
java.io.File |
getTmpDir() |
(package private) void |
setCfg(java.lang.String key,
java.lang.Object value) |
equals, getEntityDescriptor, getUri, hashCodeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetBatchLogReader, getCachedView, getCommitLogReader, getRandomAccessReader, getWriter, isAcceptableprivate static final long serialVersionUID
public static final java.lang.String LOG_ROLL_INTERVAL
public static final java.lang.String ALLOWED_LATENESS_MS
public static final java.lang.String PARTITION_SIZE
public static final java.lang.String PARTITION_MAX_BLOBS
public static final java.lang.String PARTITION_MAX_TIME_SPAN_MS
final cz.o2.proxima.repository.AttributeFamilyDescriptor familyDescriptor
final java.util.Map<java.lang.String,java.lang.Object> cfg
protected BlobStorageAccessor(cz.o2.proxima.repository.AttributeFamilyDescriptor family)
public java.util.Map<java.lang.String,java.lang.Object> getCfg()
void setCfg(java.lang.String key,
java.lang.Object value)
public abstract FileSystem getTargetFileSystem()
FileFormat getFileFormat()
public NamingConvention getNamingConvention()
public java.io.File getTmpDir()
public long getRollPeriod()
public long getAllowedLateness()
public long getPartitionMinSize()
public int getPartitionMaxNumBlobs()
public long getPartitionMaxTimeSpanMs()
Copyright © 2017–2021. All rights reserved.