/** * @see org.teiid.query.metadata.QueryMetadataInterface#getDistinctValues(java.lang.Object) */ public float getDistinctValues(Object elementID) throws TeiidComponentException, QueryMetadataException { if(elementID instanceof TempMetadataID) { return -1; } return this.actualMetadata.getDistinctValues(elementID); }
/** * @see org.teiid.query.metadata.QueryMetadataInterface#getDistinctValues(java.lang.Object) */ public float getDistinctValues(Object elementID) throws TeiidComponentException, QueryMetadataException { if(elementID instanceof TempMetadataID) { return -1; } return this.actualMetadata.getDistinctValues(elementID); }
/** * @see org.teiid.query.metadata.QueryMetadataInterface#getDistinctValues(java.lang.Object) */ public float getDistinctValues(Object elementID) throws TeiidComponentException, QueryMetadataException { if(elementID instanceof TempMetadataID) { return -1; } return this.actualMetadata.getDistinctValues(elementID); }
public float getDistinctValues(Object elementID) throws TeiidComponentException, QueryMetadataException { return actualMetadata.getDistinctValues(elementID); }
public float getDistinctValues(Object elementID) throws TeiidComponentException, QueryMetadataException { return actualMetadata.getDistinctValues(elementID); }
public float getDistinctValues(Object elementID) throws TeiidComponentException, QueryMetadataException { return actualMetadata.getDistinctValues(elementID); }
float ndv = metadata.getDistinctValues(es.getMetadataID()); float nnv = metadata.getNullValues(es.getMetadataID()); float ndv_high = ndv; List<?> pkColumns = metadata.getElementIDsInKey(pk); if (pkColumns.size() == 1) { float distinctValues = metadata.getDistinctValues(pkColumns.get(0)); ndv = Math.min(cardinality, distinctValues);
float ndv = metadata.getDistinctValues(es.getMetadataID()); float nnv = metadata.getNullValues(es.getMetadataID()); float ndv_high = ndv; List<?> pkColumns = metadata.getElementIDsInKey(pk); if (pkColumns.size() == 1) { float distinctValues = metadata.getDistinctValues(pkColumns.get(0)); ndv = Math.min(cardinality, distinctValues);
float ndv = metadata.getDistinctValues(es.getMetadataID()); float nnv = metadata.getNullValues(es.getMetadataID()); float ndv_high = ndv; List<?> pkColumns = metadata.getElementIDsInKey(pk); if (pkColumns.size() == 1) { float distinctValues = metadata.getDistinctValues(pkColumns.get(0)); ndv = Math.min(cardinality, distinctValues);