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

org.securegraph.accumulo.StreamingPropertyValueTableRef Maven / Gradle / Ivy

The newest version!
package org.securegraph.accumulo;

import org.securegraph.property.StreamingPropertyValue;

public class StreamingPropertyValueTableRef extends StreamingPropertyValueRef {
    private String dataRowKey;
    private transient byte[] data;

    protected StreamingPropertyValueTableRef() {
        super();
        dataRowKey = null;
        data = null;
    }

    public StreamingPropertyValueTableRef(String dataRowKey, StreamingPropertyValue propertyValue, byte[] data) {
        super(propertyValue);
        this.dataRowKey = dataRowKey;
        this.data = data;
    }

    public String getDataRowKey() {
        return dataRowKey;
    }

    public byte[] getData() {
        return data;
    }

    @Override
    public StreamingPropertyValue toStreamingPropertyValue(AccumuloGraph graph) {
        return new StreamingPropertyValueTable(graph, getDataRowKey(), this);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy