@Internal public class CompilerHints extends Object
Constructor and Description |
---|
CompilerHints() |
Modifier and Type | Method and Description |
---|---|
void |
addUniqueField(FieldSet uniqueFieldSet)
Adds a FieldSet to be unique
|
void |
addUniqueField(int field)
Adds a field as having only unique values.
|
void |
addUniqueFields(Set<FieldSet> uniqueFieldSets)
Adds multiple FieldSets to be unique
|
void |
clearUniqueFields() |
protected void |
copyFrom(CompilerHints source) |
float |
getAvgOutputRecordSize() |
float |
getFilterFactor() |
long |
getOutputCardinality() |
long |
getOutputSize() |
Set<FieldSet> |
getUniqueFields()
Gets the FieldSets that are unique
|
void |
setAvgOutputRecordSize(float avgOutputRecordSize) |
void |
setFilterFactor(float filterFactor) |
void |
setOutputCardinality(long outputCardinality) |
void |
setOutputSize(long outputSize) |
public long getOutputSize()
public void setOutputSize(long outputSize)
public long getOutputCardinality()
public void setOutputCardinality(long outputCardinality)
public float getAvgOutputRecordSize()
public void setAvgOutputRecordSize(float avgOutputRecordSize)
public float getFilterFactor()
public void setFilterFactor(float filterFactor)
public Set<FieldSet> getUniqueFields()
public void addUniqueField(FieldSet uniqueFieldSet)
uniqueFieldSet
- The unique FieldSetpublic void addUniqueField(int field)
field
- The field with unique values.public void addUniqueFields(Set<FieldSet> uniqueFieldSets)
uniqueFieldSets
- A set of unique FieldSetpublic void clearUniqueFields()
protected void copyFrom(CompilerHints source)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.