org.apache.lens.cube.parse
Class CandidateTablePruneCause

java.lang.Object
  extended by org.apache.lens.cube.parse.CandidateTablePruneCause

public class CandidateTablePruneCause
extends Object

Contains the cause why a candidate table is not picked for answering the query


Nested Class Summary
static class CandidateTablePruneCause.CandidateTablePruneCode
           
static class CandidateTablePruneCause.SkipStorageCause
           
static class CandidateTablePruneCause.SkipStorageCode
           
static class CandidateTablePruneCause.SkipUpdatePeriodCode
           
 
Constructor Summary
CandidateTablePruneCause(CandidateTablePruneCause.CandidateTablePruneCode cause)
           
 
Method Summary
static CandidateTablePruneCause columnNotFound(Collection<String> missingColumns)
           
static CandidateTablePruneCause columnNotFound(String... columns)
           
static CandidateTablePruneCause missingDefaultAggregate(String... names)
           
static CandidateTablePruneCause missingPartitions(List<String> nonExistingParts)
           
static CandidateTablePruneCause noCandidateStorages(Map<String,CandidateTablePruneCause.SkipStorageCause> storageCauses)
           
static CandidateTablePruneCause noColumnPartOfAJoinPath(Collection<String> colSet)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CandidateTablePruneCause

public CandidateTablePruneCause(CandidateTablePruneCause.CandidateTablePruneCode cause)
Method Detail

columnNotFound

public static CandidateTablePruneCause columnNotFound(Collection<String> missingColumns)

columnNotFound

public static CandidateTablePruneCause columnNotFound(String... columns)

missingPartitions

public static CandidateTablePruneCause missingPartitions(List<String> nonExistingParts)

noColumnPartOfAJoinPath

public static CandidateTablePruneCause noColumnPartOfAJoinPath(Collection<String> colSet)

noCandidateStorages

public static CandidateTablePruneCause noCandidateStorages(Map<String,CandidateTablePruneCause.SkipStorageCause> storageCauses)

missingDefaultAggregate

public static CandidateTablePruneCause missingDefaultAggregate(String... names)


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.