/** * Creates a MapIndexConfig with the given attribute and ordered setting. * * @param attribute the attribute that is going to be indexed * @param ordered {@code true} if the index is ordered, {@code false} otherwise * @see #setOrdered(boolean) * @see #setAttribute(String) */ public MapIndexConfig(String attribute, boolean ordered) { setAttribute(attribute); setOrdered(ordered); }
/** * Creates a MapIndexConfig with the given attribute and ordered setting. * * @param attribute the attribute that is going to be indexed * @param ordered {@code true} if the index is ordered, {@code false} otherwise * @see #setOrdered(boolean) * @see #setAttribute(String) */ public MapIndexConfig(String attribute, boolean ordered) { setAttribute(attribute); setOrdered(ordered); }
public static MapIndexConfig decode(ClientMessage clientMessage) { MapIndexConfig config = new MapIndexConfig(); config.setAttribute(clientMessage.getStringUtf8()); config.setOrdered(clientMessage.getBoolean()); return config; }
public static MapIndexConfig decode(ClientMessage clientMessage) { MapIndexConfig config = new MapIndexConfig(); config.setAttribute(clientMessage.getStringUtf8()); config.setOrdered(clientMessage.getBoolean()); return config; }
public static MapIndexConfig decode(ClientMessage clientMessage) { MapIndexConfig config = new MapIndexConfig(); config.setAttribute(clientMessage.getStringUtf8()); config.setOrdered(clientMessage.getBoolean()); return config; }