Package com.google.gerrit.server.index
Class IndexUtils
- java.lang.Object
-
- com.google.gerrit.server.index.IndexUtils
-
public final class IndexUtils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.common.collect.ImmutableMap<String,String>
CUSTOM_CHAR_MAPPING
static com.google.common.base.Function<Exception,IOException>
MAPPER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Set<String>
accountFields(QueryOptions opts)
static Set<String>
accountFields(Set<String> fields)
static Set<String>
changeFields(QueryOptions opts)
static String
describe(CurrentUser user)
static boolean
getReady(SitePaths sitePaths, String name, int version)
static Set<String>
groupFields(QueryOptions opts)
static Set<String>
projectFields(QueryOptions opts)
static void
setReady(SitePaths sitePaths, String name, int version, boolean ready)
-
-
-
Field Detail
-
CUSTOM_CHAR_MAPPING
public static final com.google.common.collect.ImmutableMap<String,String> CUSTOM_CHAR_MAPPING
-
MAPPER
public static final com.google.common.base.Function<Exception,IOException> MAPPER
-
-
Method Detail
-
setReady
public static void setReady(SitePaths sitePaths, String name, int version, boolean ready) throws IOException
- Throws:
IOException
-
getReady
public static boolean getReady(SitePaths sitePaths, String name, int version) throws IOException
- Throws:
IOException
-
accountFields
public static Set<String> accountFields(QueryOptions opts)
-
changeFields
public static Set<String> changeFields(QueryOptions opts)
-
groupFields
public static Set<String> groupFields(QueryOptions opts)
-
describe
public static String describe(CurrentUser user)
-
projectFields
public static Set<String> projectFields(QueryOptions opts)
-
-