All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eclectic.orc.template.methodSpecialCaseSetup.stg Maven / Gradle / Ivy

The newest version!
methodSpecialCaseSetup(list) ::= <<
    protected void specialCaseSetup() {
        
    }
>>

specialCaseListInstruction(schemaColumn) ::= <<
    {
         vector = ()vectorizedRowBatch.cols[];
         child = ()vector.child;
        int nullLength = 1024 * ;
        child.isNull = new boolean[nullLength];
        vector.offsets = new long[nullLength];
        int newLength = 1024 * ;
        <(schemaColumn.complexType.listChild.complexType.templateNameListReinit)(schemaColumn, "child", "newLength", "nullLength")>
    }
>>

initBytesList(schemaColumn, val, len, nullLength) ::= <<
    .vector = new byte[][];
    .start = new int[];
    .length = new int[];
>>

initLongList(schemaColumn, val, len, nullLength) ::= <<
    .vector = new long[];
>>

initDoubleList(schemaColumn, val, len, nullLength) ::= <<
    .vector = new double[];
>>

initDecimalList(schemaColumn, val, len, nullLength) ::= <<
    .vector = new HiveDecimalWritable[];
>>

initTimestampList(schemaColumn, val, len, nullLength) ::= <<
    .time = new long[];
    .nanos = new int[];
>>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy