This project has retired. For details please refer to its Attic page.
CandidateTable (Lens 2.1.0-beta-incubating API)

org.apache.lens.cube.parse
Interface CandidateTable

All Known Implementing Classes:
CandidateDim, CandidateFact

public interface CandidateTable

Candidate table interface


Method Summary
 AbstractCubeTable getBaseTable()
          Get base table of the candidate table
 Collection<String> getColumns()
          Get columns of candidate table
 String getName()
          Get name of the candidate table
 Set<?> getPartsQueried()
          Get partitions queried
 String getStorageString(String alias)
          Get storage string of the base table alias passed
 Set<String> getStorageTables()
          Get storage tables corresponding to this candidate
 AbstractCubeTable getTable()
          Get candidate table
 

Method Detail

getStorageString

String getStorageString(String alias)
Get storage string of the base table alias passed

Parameters:
alias -
Returns:
storage string

getStorageTables

Set<String> getStorageTables()
Get storage tables corresponding to this candidate

Returns:

getTable

AbstractCubeTable getTable()
Get candidate table

Returns:
Candidate fact or dim table

getBaseTable

AbstractCubeTable getBaseTable()
Get base table of the candidate table

Returns:
Cube or DerivedCube or Dimesions

getName

String getName()
Get name of the candidate table

Returns:
name

getColumns

Collection<String> getColumns()
Get columns of candidate table

Returns:
set or list of columns

getPartsQueried

Set<?> getPartsQueried()
Get partitions queried



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