Class AccountField
Note that this class does not override Object.equals(Object)
. It relies on instances
being singletons so that the default (i.e. reference) comparison works.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IndexedField<AccountState,
String> static final IndexedField<AccountState,
String>.SearchSpec static final IndexedField<AccountState,
Iterable<String>> All emails (preferred email + secondary emails).static final IndexedField<AccountState,
Iterable<String>>.SearchSpec static final IndexedField<AccountState,
Iterable<String>> External IDs.static final IndexedField<AccountState,
Iterable<String>>.SearchSpec static final IndexedField<AccountState,
Iterable<byte[]>> All note values of all external IDs that were used in the course of indexing this document.static final IndexedField<AccountState,
Iterable<byte[]>>.SearchSpec static final IndexedField<AccountState,
String> static final IndexedField<AccountState,
String>.SearchSpec static final IndexedField<AccountState,
Integer> static final IndexedField<AccountState,
Integer>.SearchSpec static final IndexedField<AccountState,
String> static final IndexedField<AccountState,
String>.SearchSpec static final IndexedField<AccountState,
Iterable<String>> Fuzzy prefix match on name and email parts.static final IndexedField<AccountState,
Iterable<String>> Fuzzy prefix match on name and preferred email parts.static final IndexedField<AccountState,
Iterable<String>>.SearchSpec static final IndexedField<AccountState,
Iterable<String>>.SearchSpec static final IndexedField<AccountState,
String> static final IndexedField<AccountState,
String>.SearchSpec static final IndexedField<AccountState,
String> static final IndexedField<AccountState,
String>.SearchSpec static final IndexedField<AccountState,
Iterable<byte[]>> All values of all refs that were used in the course of indexing this document, except the refs/meta/external-ids notes branch which is handled specially (seeEXTERNAL_ID_STATE_SPEC
).static final IndexedField<AccountState,
Iterable<byte[]>>.SearchSpec static final IndexedField<AccountState,
Timestamp> static final IndexedField<AccountState,
Timestamp>.SearchSpec static final IndexedField<AccountState,
String> static final IndexedField<AccountState,
String>.SearchSpec static final IndexedField<AccountState,
Iterable<String>> static final IndexedField<AccountState,
Iterable<String>>.SearchSpec -
Method Summary
-
Field Details
-
ID_FIELD
-
ID_FIELD_SPEC
-
ID_STR_FIELD
-
ID_STR_FIELD_SPEC
-
EXTERNAL_ID_FIELD
External IDs.This field includes secondary emails. Use this field only if the current user is allowed to see secondary emails (requires the
GlobalCapability.VIEW_SECONDARY_EMAILS
capability or theGlobalCapability.MODIFY_ACCOUNT
capability). -
EXTERNAL_ID_FIELD_SPEC
-
NAME_PART_FIELD
Fuzzy prefix match on name and email parts.This field includes parts from the secondary emails. Use this field only if the current user is allowed to see secondary emails (requires requires the
GlobalCapability.VIEW_SECONDARY_EMAILS
capability or theGlobalCapability.MODIFY_ACCOUNT
capability).Use the
NAME_PART_NO_SECONDARY_EMAIL_SPEC
if the current user can't see secondary emails. -
NAME_PART_SPEC
-
NAME_PART_NO_SECONDARY_EMAIL_FIELD
Fuzzy prefix match on name and preferred email parts. Parts of secondary emails are not included. -
NAME_PART_NO_SECONDARY_EMAIL_SPEC
public static final IndexedField<AccountState,Iterable<String>>.SearchSpec NAME_PART_NO_SECONDARY_EMAIL_SPEC -
FULL_NAME_FIELD
-
FULL_NAME_SPEC
-
ACTIVE_FIELD
-
ACTIVE_FIELD_SPEC
-
EMAIL_FIELD
All emails (preferred email + secondary emails). Use this field only if the current user is allowed to see secondary emails (requires the 'Modify Account' capability).Use the
PREFERRED_EMAIL_LOWER_CASE_SPEC
if the current user can't see secondary emails. -
EMAIL_SPEC
-
PREFERRED_EMAIL_LOWER_CASE_FIELD
-
PREFERRED_EMAIL_LOWER_CASE_SPEC
-
PREFERRED_EMAIL_EXACT_FIELD
-
PREFERRED_EMAIL_EXACT_SPEC
-
REGISTERED_FIELD
-
REGISTERED_SPEC
-
USERNAME_FIELD
-
USERNAME_SPEC
-
WATCHED_PROJECT_FIELD
-
WATCHED_PROJECT_SPEC
-
REF_STATE_FIELD
All values of all refs that were used in the course of indexing this document, except the refs/meta/external-ids notes branch which is handled specially (seeEXTERNAL_ID_STATE_SPEC
).Emitted as UTF-8 encoded strings of the form
project:ref/name:[hex sha]
. -
REF_STATE_SPEC
-
EXTERNAL_ID_STATE_FIELD
All note values of all external IDs that were used in the course of indexing this document.Emitted as UTF-8 encoded strings of the form
[hex sha of external ID]:[hex sha of note blob]
, or with other words[note ID]:[note data ID]
. -
EXTERNAL_ID_STATE_SPEC
-
-
Method Details
-
serializeExternalId
-