Uses of Interface
com.yahoo.slime.Inspector
-
Packages that use Inspector Package Description com.yahoo.data.access.slime com.yahoo.slime SLIME: 'Schema-Less Interface/Model/Exchange'. -
-
Uses of Inspector in com.yahoo.data.access.slime
Constructors in com.yahoo.data.access.slime with parameters of type Inspector Constructor Description SlimeAdapter(Inspector inspector)
-
Uses of Inspector in com.yahoo.slime
Subinterfaces of Inspector in com.yahoo.slime Modifier and Type Interface Description interface
Cursor
Interface for read-write access to any value or object that is part of a Slime.Methods in com.yahoo.slime that return Inspector Modifier and Type Method Description Inspector
Inspector. entry(int idx)
Access an array entry.Inspector
Inspector. field(int sym)
Access an field in an object by symbol id.Inspector
Inspector. field(java.lang.String name)
Access an field in an object by symbol name.Methods in com.yahoo.slime that return types with arguments of type Inspector Modifier and Type Method Description static java.util.Iterator<Inspector>
SlimeUtils. entriesIterator(Inspector inspector)
static java.util.stream.Stream<Inspector>
SlimeUtils. entriesStream(Inspector inspector)
Returns stream of entries for given inspector.Methods in com.yahoo.slime with parameters of type Inspector Modifier and Type Method Description static void
SlimeUtils. copyObject(Inspector from, Cursor to)
void
JsonFormat. encode(AbstractByteWriter os, Inspector value)
void
JsonFormat. encode(java.io.OutputStream os, Inspector value)
static java.util.Iterator<Inspector>
SlimeUtils. entriesIterator(Inspector inspector)
static java.util.stream.Stream<Inspector>
SlimeUtils. entriesStream(Inspector inspector)
Returns stream of entries for given inspector.void
ArrayTraverser. entry(int idx, Inspector inspector)
Callback function to implement.void
JsonFormat.Encoder. entry(int idx, Inspector inspector)
boolean
Inspector. equalTo(Inspector that)
Tests whether this is equal to Inspector.void
JsonFormat.Encoder. field(java.lang.String name, Inspector inspector)
void
ObjectSymbolTraverser. field(int sym, Inspector inspector)
Callback function to implement.void
ObjectTraverser. field(java.lang.String name, Inspector inspector)
Callback function to implement.static <T> java.util.stream.Stream<T>
SlimeStream. fromArray(Inspector array, java.util.function.Function<Inspector,T> mapper)
Create a stream from a SlimeInspector
pointing to an array.void
Injector. inject(Inspector inspector, Inserter inserter)
Inject a slime sub-structure described by an Inspector into a slime structure where the insertion point is described by an Inserter.static java.util.Optional<java.lang.String>
SlimeUtils. optionalString(Inspector inspector)
void
Visitor. visitArray(Inspector arr)
void
Visitor. visitObject(Inspector obj)
Method parameters in com.yahoo.slime with type arguments of type Inspector Modifier and Type Method Description static <T> java.util.stream.Stream<T>
SlimeStream. fromArray(Inspector array, java.util.function.Function<Inspector,T> mapper)
Create a stream from a SlimeInspector
pointing to an array.Constructors in com.yahoo.slime with parameters of type Inspector Constructor Description Encoder(Inspector value, AbstractByteWriter out, boolean compact)
Encoder(Inspector value, java.io.OutputStream out, boolean compact)
-