Cov txheej txheem:

Dab tsi yog blob hauv Apex?
Dab tsi yog blob hauv Apex?

Video: Dab tsi yog blob hauv Apex?

Video: Dab tsi yog blob hauv Apex?
Video: Noj Dab Tsi 🌶 - Supryze ft. Chenning (Official Music Video) 2024, Kaum ib hlis
Anonim

Blob yog ib phau ntawm cov ntaub ntawv binary khaws cia ua ib yam khoom. Koj tuaj yeem hloov cov ntaub ntawv no mus rau String lossis los ntawm String siv tus toString thiab valueOf txoj kev, feem. Blobs tuaj yeem lees txais raws li kev sib tham hauv Web, khaws cia hauv ib daim ntawv (lub cev ntawm cov ntaub ntawv yog a Blob ), los yog xa raws li attachments.

Tsis tas li ntawd, BLOB datatype yog dab tsi?

Ib tug Binary Loj Object ( BLOB ) yog ib qho kev sau ntawm binary cov ntaub ntawv khaws cia ua ib qho chaw hauv ib qho kev tswj hwm database. Blobs feem ntau yog cov duab, suab lossis lwm yam khoom siv multimedia, txawm hais tias qee zaum binary executable code yog khaws cia ua ib qho blob . Cov hom ntaub ntawv tau los ua tswv yim thaum qhov chaw disk tau pheej yig.

Ib tug kuj yuav nug, dab tsi yog enum hauv Apex? Ib enum yog hom ntaub ntawv paub daws teeb nrog qhov tseem ceeb uas txhua tus coj raws nraim ib qho ntawm cov txheej txheem tshwj xeeb uas koj tau teev tseg. Apex muab built-in enums , xws li LoggingLevel, thiab koj tuaj yeem txhais koj tus kheej enum . Txoj kev no rov qab qhov tseem ceeb ntawm cov Enum raws li ib daim ntawv teev tib yam Enum hom.

Tsis tas li ntawd, cov ntaub ntawv tseem ceeb hauv Apex yog dab tsi?

Ib yam li lwm yam lus programming, Apex muaj ntau yam hom ntaub ntawv uas koj siv tau. 1). Yam Tseem Ceeb - Qhov no hom ntaub ntawv xws li String, Integer, Long, Ob, Decimal, ID, Boolean, Hnub, Hnub, Lub Sijhawm thiab Blob. Tag nrho cov no hom ntaub ntawv variables yeej ib txwm dhau los ntawm tus nqi hauv txoj kev.

Dab tsi yog cov ntaub ntawv tseem ceeb thiab tsis yog cov ntaub ntawv tseem ceeb hauv Salesforce?

Hom ntaub ntawv Primitive

  • Tus lej. Tus lej 32-ntsis uas tsis suav nrog tus lej lej.
  • Boolean. Qhov kev hloov pauv no tuaj yeem yog qhov tseeb, cuav lossis tsis tseeb.
  • Hnub tim. Hom hloov pauv no qhia txog hnub.
  • Ntev. Qhov no yog 64-ntsis tus lej tsis muaj tus lej lej.
  • Yam khoom.
  • Txoj hlua.
  • sObject.
  • Enum.

Pom zoo: