Search in sources :

Example 16 with Nullable

use of edu.umd.cs.findbugs.annotations.Nullable in project hbase by apache.

the class TopScreenView method doResizeIfNecessary.

@Nullable
@Override
public TerminalSize doResizeIfNecessary() {
    TerminalSize terminalSize = super.doResizeIfNecessary();
    if (terminalSize == null) {
        return null;
    }
    updatePageSize(terminalSize);
    return terminalSize;
}
Also used : TerminalSize(org.apache.hadoop.hbase.hbtop.terminal.TerminalSize) Nullable(edu.umd.cs.findbugs.annotations.Nullable)

Example 17 with Nullable

use of edu.umd.cs.findbugs.annotations.Nullable in project hbase by apache.

the class TopScreenView method getTerminalSize.

@Nullable
@Override
public TerminalSize getTerminalSize() {
    TerminalSize terminalSize = super.getTerminalSize();
    if (terminalSize == null) {
        return null;
    }
    updatePageSize(terminalSize);
    return terminalSize;
}
Also used : TerminalSize(org.apache.hadoop.hbase.hbtop.terminal.TerminalSize) Nullable(edu.umd.cs.findbugs.annotations.Nullable)

Aggregations

Nullable (edu.umd.cs.findbugs.annotations.Nullable)17 AtomicReference (java.util.concurrent.atomic.AtomicReference)9 ParsedQuery (org.openrdf.query.parser.ParsedQuery)8 SPARQLParser (org.openrdf.query.parser.sparql.SPARQLParser)8 Result (org.apache.hadoop.hbase.client.Result)3 TableState (org.apache.hadoop.hbase.client.TableState)3 TerminalSize (org.apache.hadoop.hbase.hbtop.terminal.TerminalSize)3 MultiProjection (org.openrdf.query.algebra.MultiProjection)3 Filter (org.openrdf.query.algebra.Filter)2 Projection (org.openrdf.query.algebra.Projection)2 StatementPattern (org.openrdf.query.algebra.StatementPattern)2 IOException (java.io.IOException)1 ArrayList (java.util.ArrayList)1 LinkedHashMap (java.util.LinkedHashMap)1 Map (java.util.Map)1 NavigableMap (java.util.NavigableMap)1 SortedMap (java.util.SortedMap)1 Get (org.apache.hadoop.hbase.client.Get)1 RegionInfo (org.apache.hadoop.hbase.client.RegionInfo)1 Table (org.apache.hadoop.hbase.client.Table)1