|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<ExhibitPropsComputableMutableVoteCache.CorrType>
org.hd.d.pg2k.svrCore.ExhibitPropsComputableMutableVoteCache.CorrType
public static enum ExhibitPropsComputableMutableVoteCache.CorrType
Correlation types. By default most correlation types/data is "dense", ie there should be many examples for and against each value.
Some types are "sparse", ie where we usually expect only one or two examples for a given value, and so we want to filter these more gently than usual.
| Enum Constant Summary | |
|---|---|
ATTRIBUTE
By exhibit attribute word(s). |
|
AUTHOR
By author. |
|
CATEGORY
By exhibit category. |
|
MAIN_WORD
By exhibit main word. |
|
MIME1
By MIME primary type component. |
|
PREFIX
By prefixes. |
|
RESOLUTION
By exhibit resolution (eg pixels). |
|
SIMILAR
By similar exhibit (sparse). |
|
SIZE
By exhibit size (bytes). |
|
STEM_WORDS
By all stem words. |
|
TYPE
By exhibit type. |
|
VARIANT
By variation on same exhibit (sparse). |
|
| Field Summary | |
|---|---|
private boolean |
sparse
Is this correlation "sparse"?. |
| Method Summary | |
|---|---|
boolean |
isSparse()
Get the "sparseness" flag. |
(package private) static void |
makeCacheKey(ExhibitPropsComputableMutableVoteCache.CorrType corrType,
ExhibitStaticAttr esa,
AllExhibitProperties aep,
java.util.Set<java.lang.String> result)
Make the appropriate cache lookup key(s) for a given value and full valid exhibit name; never null. |
(package private) static java.util.Set<java.lang.String> |
makeCacheKeys(ExhibitStaticAttr esa,
AllExhibitProperties aep)
Make all cache keys for a given exhibit; never null. |
static ExhibitPropsComputableMutableVoteCache.CorrType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ExhibitPropsComputableMutableVoteCache.CorrType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ExhibitPropsComputableMutableVoteCache.CorrType VARIANT
public static final ExhibitPropsComputableMutableVoteCache.CorrType SIMILAR
public static final ExhibitPropsComputableMutableVoteCache.CorrType SIZE
public static final ExhibitPropsComputableMutableVoteCache.CorrType ATTRIBUTE
public static final ExhibitPropsComputableMutableVoteCache.CorrType RESOLUTION
public static final ExhibitPropsComputableMutableVoteCache.CorrType MAIN_WORD
public static final ExhibitPropsComputableMutableVoteCache.CorrType CATEGORY
public static final ExhibitPropsComputableMutableVoteCache.CorrType TYPE
public static final ExhibitPropsComputableMutableVoteCache.CorrType AUTHOR
public static final ExhibitPropsComputableMutableVoteCache.CorrType MIME1
public static final ExhibitPropsComputableMutableVoteCache.CorrType PREFIX
public static final ExhibitPropsComputableMutableVoteCache.CorrType STEM_WORDS
| Field Detail |
|---|
private final boolean sparse
| Method Detail |
|---|
public static ExhibitPropsComputableMutableVoteCache.CorrType[] values()
for (ExhibitPropsComputableMutableVoteCache.CorrType c : ExhibitPropsComputableMutableVoteCache.CorrType.values()) System.out.println(c);
public static ExhibitPropsComputableMutableVoteCache.CorrType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic final boolean isSparse()
static void makeCacheKey(ExhibitPropsComputableMutableVoteCache.CorrType corrType,
ExhibitStaticAttr esa,
AllExhibitProperties aep,
java.util.Set<java.lang.String> result)
throws java.io.IOException
corrType - the correlation type; never nullesa - exhibit details; never nullaep - never nullresult - non-null, mutable Set to which result is added
java.io.IOException - if key cannot be constructed
static java.util.Set<java.lang.String> makeCacheKeys(ExhibitStaticAttr esa,
AllExhibitProperties aep)
|
DHD Multimedia Gallery V1.50.55 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||