Uses of Interface
com.yahoo.slime.Cursor
Packages that use Cursor
-
Uses of Cursor in ai.vespa.json
Fields in ai.vespa.json declared as CursorMethods in ai.vespa.json that return CursorMethods in ai.vespa.json with parameters of type CursorModifier and TypeMethodDescriptionstatic Json.Builder.ArrayJson.Builder.existingSlimeArrayCursor(Cursor cursor) static Json.Builder.ObjectJson.Builder.existingSlimeObjectCursor(Cursor cursor) -
Uses of Cursor in com.yahoo.slime
Methods in com.yahoo.slime that return CursorModifier and TypeMethodDescriptionCursor.addArray()Appends an array entry containing a new value of ARRAY type.Cursor.addBool(boolean bit) Appends an array entry containing a new value of BOOL type.Cursor.addData(byte[] data) Add a new entry of DATA type to an array.Cursor.addDouble(double d) Adds a new entry of DOUBLE type to an array.Cursor.addLong(long l) Adds a new entry of LONG type to an array.Cursor.addNix()Appends an array entry containing a new value of NIX type.Cursor.addObject()Appends an array entry containing a new value of OBJECT type.Cursor.addString(byte[] utf8) Add a new entry of STRING type to an array.Add a new entry of STRING type to an array.Cursor.entry(int idx) Accesses an array entry.Cursor.field(int sym) Accesses a field in an object by symbol id.Accesses a field in an object by symbol name.Slime.get()Get a Cursor connected to the top-level data object.ArrayInserter.insertARRAY()Inserter.insertARRAY()final CursorObjectInserter.insertARRAY()ObjectSymbolInserter.insertARRAY()final CursorSlimeInserter.insertARRAY()ArrayInserter.insertBOOL(boolean value) Inserter.insertBOOL(boolean value) final CursorObjectInserter.insertBOOL(boolean value) ObjectSymbolInserter.insertBOOL(boolean value) final CursorSlimeInserter.insertBOOL(boolean value) ArrayInserter.insertDATA(byte[] value) Inserter.insertDATA(byte[] value) final CursorObjectInserter.insertDATA(byte[] value) ObjectSymbolInserter.insertDATA(byte[] value) final CursorSlimeInserter.insertDATA(byte[] value) ArrayInserter.insertDOUBLE(double value) Inserter.insertDOUBLE(double value) final CursorObjectInserter.insertDOUBLE(double value) ObjectSymbolInserter.insertDOUBLE(double value) final CursorSlimeInserter.insertDOUBLE(double value) ArrayInserter.insertLONG(long value) Inserter.insertLONG(long value) final CursorObjectInserter.insertLONG(long value) ObjectSymbolInserter.insertLONG(long value) final CursorSlimeInserter.insertLONG(long value) ArrayInserter.insertNIX()Inserter.insertNIX()final CursorObjectInserter.insertNIX()ObjectSymbolInserter.insertNIX()final CursorSlimeInserter.insertNIX()ArrayInserter.insertOBJECT()Inserter.insertOBJECT()final CursorObjectInserter.insertOBJECT()ObjectSymbolInserter.insertOBJECT()final CursorSlimeInserter.insertOBJECT()ArrayInserter.insertSTRING(byte[] utf8) ArrayInserter.insertSTRING(String value) Inserter.insertSTRING(byte[] utf8) Inserter.insertSTRING(String value) final CursorObjectInserter.insertSTRING(byte[] utf8) final CursorObjectInserter.insertSTRING(String value) ObjectSymbolInserter.insertSTRING(byte[] utf8) ObjectSymbolInserter.insertSTRING(String value) final CursorSlimeInserter.insertSTRING(byte[] utf8) final CursorSlimeInserter.insertSTRING(String value) Cursor.setArray(int sym) Sets a field (identified with a symbol id) to contain a new value of ARRAY type.Sets a field (identified with a symbol name) to contain a new value of ARRAY type.Slime.setArray()Create a new array value and make it the new top-level data object.Cursor.setBool(int sym, boolean bit) Sets a field (identified with a symbol id) to contain a new value of BOOL type.Sets a field (identified with a symbol name) to contain a new value of BOOL type.Slime.setBool(boolean bit) Create a new boolean value and make it the new top-level data object.Cursor.setData(int sym, byte[] data) Sets a field (identified with a symbol id) to contain a new value of BOOL type.Sets a field (identified with a symbol name) to contain a new value of DATA type.Slime.setData(byte[] data) Create a new data value and make it the new top-level data object.Cursor.setDouble(int sym, double d) Sets a field (identified with a symbol id) to contain a new value of BOOL type.Sets a field (identified with a symbol name) to contain a new value of DOUBLE type.Slime.setDouble(double d) Create a new double value and make it the new top-level data object.Cursor.setLong(int sym, long l) Sets a field (identified with a symbol id) to contain a new value of BOOL type.Sets a field (identified with a symbol name) to contain a new value of LONG type.Slime.setLong(long l) Create a new double value and make it the new top-level data object.Cursor.setNix(int sym) Sets a field (identified with a symbol id) to contain a new value of NIX type.Sets a field (identified with a symbol name) to contain a new value of NIX type.Slime.setNix()Create a new empty value and make it the new top-level data object.Cursor.setObject(int sym) Sets a field (identified with a symbol id) to contain a new value of OBJECT type.Sets a field (identified with a symbol name) to contain a new value of OBJECT type.Slime.setObject()Create a new object value and make it the new top-level data object.Cursor.setString(int sym, byte[] utf8) Sets a field (identified with a symbol id) to contain a new value of BOOL type.Sets a field (identified with a symbol id) to contain a new value of BOOL type.Sets a field (identified with a symbol name) to contain a new value of STRING type.Sets a field (identified with a symbol name) to contain a new value of STRING type.Slime.setString(byte[] utf8) Create a new string value and make it the new top-level data object.Create a new string value and make it the new top-level data object.Slime.wrap(int sym) Take the current top-level data object and make it a field in a new ObjectValue with the given symbol id as field id; the new ObjectValue will also become the new top-level data object.Take the current top-level data object and make it a field in a new ObjectValue with the given symbol name as field name; the new ObjectValue will also become the new top-level data object.Methods in com.yahoo.slime with parameters of type CursorModifier and TypeMethodDescriptionstatic voidfinal ObjectInserterstatic voidstatic voidSlimeUtils.copyObject(Inspector from, Cursor to) static voidSlimeUtils.setObjectEntry(Inspector from, String name, Cursor to) Constructors in com.yahoo.slime with parameters of type CursorModifierConstructorDescriptionObjectInserter(Cursor c, String key) ObjectSymbolInserter(Cursor cursor, int sym)