com.bigdata.bop.joinGraph.rto
Class VertexSample

java.lang.Object
  extended by com.bigdata.bop.joinGraph.rto.SampleBase
      extended by com.bigdata.bop.joinGraph.rto.VertexSample

public class VertexSample
extends SampleBase

A sample of a Vertex (an access path).


Field Summary
 
Fields inherited from class com.bigdata.bop.joinGraph.rto.SampleBase
estCard, estimateEnum, limit
 
Constructor Summary
VertexSample(long estCard, int limit, EstimateEnum estimateEnum, IBindingSet[] sample)
          Note: For a Vertex, the estimatedCardinality is the fast range count.
 
Method Summary
 
Methods inherited from class com.bigdata.bop.joinGraph.rto.SampleBase
isExact, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VertexSample

public VertexSample(long estCard,
                    int limit,
                    EstimateEnum estimateEnum,
                    IBindingSet[] sample)
Note: For a Vertex, the estimatedCardinality is the fast range count. This will be the same for each sample taken (assuming a read historical view or even a time scale of query which is significantly faster than update).

Parameters:
estCard - The estimated cardinality.
limit - The cutoff limit used to make that cardinality estimate.
estimateEnum - The type of estimate. For a vertex this should be EstimateEnum.Exact iff the sample is the fully materialized access path for that vertex and otherwise EstimateEnum.Normal.
sample - The sample.


Copyright © 2006-2012 SYSTAP, LLC. All Rights Reserved.