Examples of appendTo()


Examples of com.alibaba.citrus.util.ToStringBuilder.MapBuilder.appendTo()

            for (String name : nameToConfigurationPoints.keySet()) {
                mb.append(name, nameToConfigurationPoints.get(name).getNamespaceUri());
            }

            mb.appendTo(buf);

            log.debug(buf.toString());
        }
    }
View Full Code Here

Examples of com.asakusafw.dmdl.thundergate.emitter.RecordLockDdlEmitter.appendTo()

        }
        LOG.info("レコードロック用のDDLを生成しています: {}", output);
        try {
            FileOutputStream stream = FileUtils.openOutputStream(output);
            try {
                generator.appendTo(stream);
            } finally {
                stream.close();
            }
        } catch (IOException e) {
            LOG.error("レコードロック用のDDL生成に失敗しました", e);
View Full Code Here

Examples of com.facebook.presto.operator.JoinProbe.appendTo()

        Block probeBlock = page.getBlock(0);
        PageBuilder pageBuilder = new PageBuilder(types);
        for (int position = 0; position < page.getPositionCount(); position++) {
            assertTrue(joinProbe.advanceNextPosition());

            joinProbe.appendTo(pageBuilder);

            assertEquals(joinProbe.getCurrentJoinPosition(), lookupSource.getJoinPosition(position, probeBlock));
        }
        assertFalse(joinProbe.advanceNextPosition());
        assertPageEquals(types, pageBuilder.build(), page);
View Full Code Here

Examples of com.facebook.presto.operator.PagesHashStrategy.appendTo()

                                positionEqualsPosition(VARCHAR, leftBlock, leftBlockPosition, rightBlock, position));
                    }
                }

                // write position to output block
                hashStrategy.appendTo(leftBlockIndex, leftBlockPosition, pageBuilder, 0);
            }

            // verify output block matches
            assertBlockEquals(VARCHAR, pageBuilder.build().getBlock(0), leftBlock);
        }
View Full Code Here

Examples of com.facebook.presto.spi.block.Block.appendTo()

            // append the row
            for (int i = 0; i < outputChannels.length; i++) {
                int outputChannel = outputChannels[i];
                Block block = this.channels[outputChannel].get(blockIndex);
                block.appendTo(blockPosition, pageBuilder.getBlockBuilder(i));
            }

            position++;
        }
View Full Code Here

Examples of com.facebook.presto.spi.block.BlockBuilder.appendTo()

        public void appendValuesTo(int position, BlockBuilder... builders)
        {
            for (int i = 0; i < blockBuilders.size(); i++) {
                BlockBuilder channel = blockBuilders.get(i);
                channel.appendTo(position, builders[i]);
            }
        }

        public int hashCode(int position)
        {
View Full Code Here

Examples of com.facebook.presto.spi.block.BlockCursor.appendTo()

    @Override
    public void appendTo(PageBuilder pageBuilder)
    {
        for (int outputIndex = 0; outputIndex < cursors.length; outputIndex++) {
            BlockCursor cursor = cursors[outputIndex];
            cursor.appendTo(pageBuilder.getBlockBuilder(outputIndex));
        }
    }

    @Override
    public long getCurrentJoinPosition()
View Full Code Here

Examples of com.facebook.presto.spi.block.RandomAccessBlock.appendTo()

    @Override
    public void appendTo(int blockIndex, int blockPosition, PageBuilder pageBuilder, int outputChannelOffset)
    {
        for (List<RandomAccessBlock> channel : channels) {
            RandomAccessBlock block = channel.get(blockIndex);
            block.appendTo(blockPosition, pageBuilder.getBlockBuilder(outputChannelOffset));
            outputChannelOffset++;
        }
    }

    @Override
View Full Code Here

Examples of com.facebook.presto.spi.type.Type.appendTo()

                int position = unloadedKeyRecordCursor.getPosition();
                if (lookupSource.getJoinPosition(position, blocks) < 0) {
                    for (int i = 0; i < blocks.length; i++) {
                        Block block = blocks[i];
                        Type type = unloadedKeyRecordCursor.getType(i);
                        type.appendTo(block, position, missingKeysPageBuilder.getBlockBuilder(i));
                    }
                }
            }

            // only update missing keys if we have new missing keys
View Full Code Here

Examples of com.google.common.base.Joiner.appendTo()

    }
    buf.append(">\n");

    Joiner j = Joiner.on("\n");

    j.appendTo(buf, preloads);
    j.appendTo(buf, features.values());
    j.appendTo(buf, icons);
    j.appendTo(buf, locales.values());
    j.appendTo(buf, links.values());
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.