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

org.cloudgraph.rocksdb.client.RocksDBGet Maven / Gradle / Ivy

Go to download

CloudGraph(tm) is a suite of Service Data Object (SDO) 2.1 services designed for relational and big-table style "cloud" databases, such as HBase and others.

The newest version!
package org.cloudgraph.rocksdb.client;

import java.util.Map;
import java.util.NavigableSet;

import org.cloudgraph.core.client.Filter;
import org.cloudgraph.core.client.Get;
import org.plasma.sdo.DataType;

public class RocksDBGet extends RocksDBRow implements Get {

  private Filter columnFilter;
  protected Map colTypeMap;

  public RocksDBGet(byte[] rowKey) {
    super(rowKey);
  }

  public RocksDBGet(byte[] rowKey, Filter columnFilter) {
    this(rowKey);
    this.columnFilter = columnFilter;
  }

  @Override
  public String[] getColumnNames() {
    if (this.columnFilter != null) {
      throw new RuntimeException("not implemented");

    }
    return null;
  }

  @Override
  public int size() {
    throw new RuntimeException("not implemented");
  }

  @Override
  public Object getValue(String string) {
    throw new RuntimeException("not implemented");
  }

  @Override
  public void addColumn(byte[] family, byte[] qualifier) {
    super.addColumn(family, qualifier, DataType.String); // FIXME:
  }

  @Override
  public void setFilter(org.cloudgraph.core.client.Filter filter) {
    this.columnFilter = filter;

  }

  @Override
  public org.cloudgraph.core.client.Filter getFilter() {
    return this.columnFilter;
  }

  @Override
  public Map> getFamilyMap() {
    throw new RuntimeException("not implemented");
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy