PHP 클래스 DataSift_ODP

This software is the intellectual property of MediaSift Ltd., and is covered by retained intellectual property rights, including copyright. Distribution of this software is strictly forbidden under the terms of this license. The DataSift_ODP class represents an ODP query.
저자: Ryan Stanley ([email protected])
파일 보기 프로젝트 열기: datasift/datasift-php 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( DataSift_User $user, $source_id ) Construct the DataSift_ODP user object
getSourceId ( ) : string Gets the Managed Source ID
ingest ( $data_set ) Generates a curl request to the Ingestion Endpoint
setSourceId ( string $source_id ) Sets the Managed Source ID

메소드 상세

__construct() 공개 메소드

Construct the DataSift_ODP user object
public __construct ( DataSift_User $user, $source_id )
$user DataSift_User The Datasift user object

getSourceId() 공개 메소드

Gets the Managed Source ID
public getSourceId ( ) : string
리턴 string The Source ID to be used

ingest() 공개 메소드

Generates a curl request to the Ingestion Endpoint
public ingest ( $data_set )

setSourceId() 공개 메소드

Sets the Managed Source ID
public setSourceId ( string $source_id )
$source_id string the Managed Source ID