Java Code Examples for org.apache.hadoop.hbase.HConstants#NOT_IMPLEMENTED

The following examples show how to use org.apache.hadoop.hbase.HConstants#NOT_IMPLEMENTED . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: PairOfSameType.java    From hbase with Apache License 2.0 6 votes vote down vote up
@Override
public Iterator<T> iterator() {
  return new Iterator<T>() {
    private int returned = 0;

    @Override
    public boolean hasNext() {
      return this.returned < 2;
    }

    @Override
    public T next() {
      if (++this.returned == 1) return getFirst();
      else if (this.returned == 2) return getSecond();
      else throw new IllegalAccessError("this.returned=" + this.returned);
    }

    @Override
    public void remove() {
      throw new NotImplementedException(HConstants.NOT_IMPLEMENTED);
    }
  };
}
 
Example 2
Source File: CellSet.java    From hbase with Apache License 2.0 4 votes vote down vote up
@Override
public SortedSet<Cell> subSet(Cell fromElement, Cell toElement) {
  throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);
}
 
Example 3
Source File: CellSet.java    From hbase with Apache License 2.0 4 votes vote down vote up
@Override
public <T> T[] toArray(T[] a) {
  throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);
}
 
Example 4
Source File: CellSet.java    From hbase with Apache License 2.0 4 votes vote down vote up
@Override
public Object[] toArray() {
  throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);
}
 
Example 5
Source File: CellSet.java    From hbase with Apache License 2.0 4 votes vote down vote up
@Override
public boolean retainAll(Collection<?> c) {
  throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);
}
 
Example 6
Source File: CellSet.java    From hbase with Apache License 2.0 4 votes vote down vote up
@Override
public boolean removeAll(Collection<?> c) {
  throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);
}
 
Example 7
Source File: CellSet.java    From hbase with Apache License 2.0 4 votes vote down vote up
@Override
public boolean containsAll(Collection<?> c) {
  throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);
}
 
Example 8
Source File: CellSet.java    From hbase with Apache License 2.0 4 votes vote down vote up
@Override
public boolean addAll(Collection<? extends Cell> c) {
  throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);
}
 
Example 9
Source File: CellSet.java    From hbase with Apache License 2.0 4 votes vote down vote up
@Override
public Comparator<? super Cell> comparator() {
  throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);
}
 
Example 10
Source File: CellSet.java    From hbase with Apache License 2.0 4 votes vote down vote up
@Override
public NavigableSet<Cell> subSet(Cell fromElement,
    boolean fromInclusive, Cell toElement, boolean toInclusive) {
  throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);
}
 
Example 11
Source File: BaseLoadBalancer.java    From hbase with Apache License 2.0 4 votes vote down vote up
@Override
public Action undoAction() {
  // TODO implement this. This action is not being used by the StochasticLB for now
  // in case it uses it, we should implement this function.
  throw new NotImplementedException(HConstants.NOT_IMPLEMENTED);
}
 
Example 12
Source File: CellSet.java    From hbase with Apache License 2.0 4 votes vote down vote up
@Override
public Cell pollLast() {
  throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);
}
 
Example 13
Source File: CellSet.java    From hbase with Apache License 2.0 4 votes vote down vote up
@Override
public Cell pollFirst() {
  throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);
}
 
Example 14
Source File: CellSet.java    From hbase with Apache License 2.0 4 votes vote down vote up
@Override
public Cell lower(Cell e) {
  throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);
}
 
Example 15
Source File: CellSet.java    From hbase with Apache License 2.0 4 votes vote down vote up
@Override
public Cell higher(Cell e) {
  throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);
}
 
Example 16
Source File: CellSet.java    From hbase with Apache License 2.0 4 votes vote down vote up
@Override
public Cell floor(Cell e) {
  throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);
}
 
Example 17
Source File: CellSet.java    From hbase with Apache License 2.0 4 votes vote down vote up
@Override
public NavigableSet<Cell> descendingSet() {
  throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);
}
 
Example 18
Source File: CellSet.java    From hbase with Apache License 2.0 4 votes vote down vote up
@Override
public Cell ceiling(Cell e) {
  throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);
}
 
Example 19
Source File: ReversedKeyValueHeap.java    From hbase with Apache License 2.0 4 votes vote down vote up
@Override
public boolean seekToLastRow() throws IOException {
  throw new NotImplementedException(HConstants.NOT_IMPLEMENTED);
}