Class Expression.MaskExpression

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.substrait.proto.Expression.MaskExpression
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Expression.MaskExpressionOrBuilder, Serializable
Enclosing class:
Expression

public static final class Expression.MaskExpression extends com.google.protobuf.GeneratedMessageV3 implements Expression.MaskExpressionOrBuilder
 A reference that takes an existing subtype and selectively removes fields
 from it. For example, one might initially have an inner struct with 100
 fields but a a particular operation only needs to interact with only 2 of
 those 100 fields. In this situation, one would use a mask expression to
 eliminate the 98 fields that are not relevant to the rest of the operation
 pipeline.

 Note that this does not fundamentally alter the structure of data beyond
 the elimination of unnecessary elements.
 
Protobuf type substrait.Expression.MaskExpression
See Also:
  • Field Details

    • SELECT_FIELD_NUMBER

      public static final int SELECT_FIELD_NUMBER
      See Also:
    • MAINTAIN_SINGULAR_STRUCT_FIELD_NUMBER

      public static final int MAINTAIN_SINGULAR_STRUCT_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasSelect

      public boolean hasSelect()
      .substrait.Expression.MaskExpression.StructSelect select = 1;
      Specified by:
      hasSelect in interface Expression.MaskExpressionOrBuilder
      Returns:
      Whether the select field is set.
    • getSelect

      .substrait.Expression.MaskExpression.StructSelect select = 1;
      Specified by:
      getSelect in interface Expression.MaskExpressionOrBuilder
      Returns:
      The select.
    • getSelectOrBuilder

      .substrait.Expression.MaskExpression.StructSelect select = 1;
      Specified by:
      getSelectOrBuilder in interface Expression.MaskExpressionOrBuilder
    • getMaintainSingularStruct

      public boolean getMaintainSingularStruct()
      bool maintain_singular_struct = 2;
      Specified by:
      getMaintainSingularStruct in interface Expression.MaskExpressionOrBuilder
      Returns:
      The maintainSingularStruct.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Expression.MaskExpression parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Expression.MaskExpression parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Expression.MaskExpression parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Expression.MaskExpression parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Expression.MaskExpression parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Expression.MaskExpression parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Expression.MaskExpression parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Expression.MaskExpression parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Expression.MaskExpression parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Expression.MaskExpression parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Expression.MaskExpression parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Expression.MaskExpression parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Expression.MaskExpression.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Expression.MaskExpression.Builder newBuilder()
    • newBuilder

      public static Expression.MaskExpression.Builder newBuilder(Expression.MaskExpression prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Expression.MaskExpression.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Expression.MaskExpression getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Expression.MaskExpression> parser()
    • getParserForType

      public com.google.protobuf.Parser<Expression.MaskExpression> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Expression.MaskExpression getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder