Record Class ArquivoBytesLegado
java.lang.Object
java.lang.Record
br.com.vantroba.bi.transporte.processamento.ArquivoBytesLegado
- Record Components:
arquivoBytes- conteúdo dearquivo_bytes;nullse a coluna estiver vazia.
Projeção de coluna única: o binário legado
arquivo_bytes. Necessária porque o
Micronaut Data não projeta byte[] como tipo de retorno escalar de um @Query
(tenta converter o blob inteiro para um único Byte) — só mapeia byte[] quando
é propriedade de um tipo introspectado. Usada apenas pelo backfill, via
ProcessamentoRepository.lerArquivoBytesLegado(Long).-
Constructor Summary
ConstructorsConstructorDescriptionArquivoBytesLegado(@Nullable byte[] arquivoBytes) Creates an instance of aArquivoBytesLegadorecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable byte[]Returns the value of thearquivoBytesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ArquivoBytesLegado
public ArquivoBytesLegado(@Nullable @Nullable byte[] arquivoBytes) Creates an instance of aArquivoBytesLegadorecord class.- Parameters:
arquivoBytes- the value for thearquivoBytesrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
arquivoBytes
@Nullable public @Nullable byte[] arquivoBytes()Returns the value of thearquivoBytesrecord component.- Returns:
- the value of the
arquivoBytesrecord component
-