Package com.yahoo.schema.fieldoperation
Class AttributeOperation
java.lang.Object
com.yahoo.schema.fieldoperation.AttributeOperation
- All Implemented Interfaces:
FieldOperation
,FieldOperationContainer
,Comparable<FieldOperation>
- Author:
- Einar M R Rosenvinge
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds an operationvoid
Apply this operation on the given fieldvoid
applyOperations
(SDField field) Apply all operations.getAlias()
getHuge()
getName()
void
void
setAliasedName
(String aliasedName) void
setDistanceMetric
(String value) void
setDoAlias
(boolean doAlias) void
setEnableBitVectors
(Boolean enableBitVectors) void
setEnableOnlyBitVector
(Boolean enableOnlyBitVector) void
setFastAccess
(Boolean fastAccess) void
setFastSearch
(Boolean fastSearch) void
void
setMutable
(Boolean mutable) void
void
setTensorType
(com.yahoo.tensor.TensorType tensorType) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.yahoo.schema.fieldoperation.FieldOperation
compareTo
-
Constructor Details
-
AttributeOperation
-
-
Method Details
-
addOperation
Description copied from interface:FieldOperationContainer
Adds an operation- Specified by:
addOperation
in interfaceFieldOperationContainer
-
applyOperations
Description copied from interface:FieldOperationContainer
Apply all operations. Operations must be sorted in their natural order before applying each operation.- Specified by:
applyOperations
in interfaceFieldOperationContainer
-
getName
- Specified by:
getName
in interfaceFieldOperationContainer
-
getHuge
-
setHuge
-
getFastSearch
-
setFastSearch
-
getFastAccess
-
setFastAccess
-
setMutable
-
setPaged
-
getEnableBitVectors
-
setEnableBitVectors
-
getEnableOnlyBitVector
-
setEnableOnlyBitVector
-
setDoAlias
public void setDoAlias(boolean doAlias) -
getAlias
-
setAlias
-
setAliasedName
-
setTensorType
public void setTensorType(com.yahoo.tensor.TensorType tensorType) -
setDistanceMetric
-
apply
Description copied from interface:FieldOperation
Apply this operation on the given field- Specified by:
apply
in interfaceFieldOperation
-