Examples of useMemory()


Examples of com.airhacks.enhydrator.in.Row.useMemory()

    public static Bindings create(ScriptEngineManager scriptEngineManager, Row input) {
        Bindings bindings = scriptEngineManager.getBindings();
        bindings.put("$ROW", input);
        final Row emptyRow = new Row();
        emptyRow.useMemory(input.getMemory());
        bindings.put("$EMPTY", emptyRow);
        bindings.put("$MEMORY", input.getMemory());
        input.getColumns().forEach(c -> bindings.put(c.getName(), c));
        return bindings;
    }
View Full Code Here

Examples of jnr.ffi.Struct.useMemory()

    @Override
    public Struct fromNative(Pointer nativeValue, FromNativeContext context) {
        try {
            Struct s = constructor.newInstance(context.getRuntime());
            s.useMemory(nativeValue);
            return s;
        } catch (InstantiationException e) {
            throw new RuntimeException(e);
        } catch (IllegalAccessException e) {
            throw new RuntimeException(e);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.